Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Delete != maybe? #62

Closed
DenisYaroshevskiy opened this issue May 15, 2023 · 1 comment
Closed

[BUG] Delete != maybe? #62

DenisYaroshevskiy opened this issue May 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@DenisYaroshevskiy
Copy link

eve fails with:

/home/falcou/infra/tindalos-2/_work/eve/eve/test/unit/api/udt/comparison.cpp:60:55: error: C++20 says that these are ambiguous, even though the second is reversed: [-Werror]
   60 |   lp_t checks = [&](auto i, auto) { return lhs.get(i) != rhs.get(i); };
      |                                            ~~~~~~~~~~~^~~~~~~~~~~~~
/home/falcou/infra/tindalos-2/_work/eve/eve/include/eve/detail/kumi.hpp:344:27: note: candidate 1: ‘constexpr auto kumi::operator!=(const tuple<Ts>&, const Other&) requires  sizeof ... (Ts ...) != 0 && (equality_comparable<kumi::tuple<Ts ...>, Other>) [with Other = udt::label_position; Ts = {float, unsigned char}]’
  344 |     friend constexpr auto operator!=(tuple const &self, Other const &other) noexcept
      |                           ^~~~~~~~
/home/falcou/infra/tindalos-2/_work/eve/eve/include/eve/detail/kumi.hpp:327:27: note: candidate 2: ‘constexpr auto kumi::operator==(const tuple<Ts>&, const Other&) requires  sizeof ... (Ts ...) != 0 && (equality_comparable<kumi::tuple<Ts ...>, Other>) [with Other = udt::label_position; Ts = {float, unsigned char}]’ (reversed)
  327 |     friend constexpr auto operator==(tuple const &self, Other const &other) noexcept
      |                           ^~~~~~~~
cc1plus: all warnings being treated as errors
@DenisYaroshevskiy DenisYaroshevskiy added the bug Something isn't working label May 15, 2023
@jfalcou
Copy link
Owner

jfalcou commented May 15, 2023

Fix has been merged.
Have to update EVE after new KUMI release

@jfalcou jfalcou closed this as completed May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants