Skip to content

Commit

Permalink
minus is no more in arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Aug 21, 2023
1 parent d47181d commit ab5cbce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/kyosu/functions/minus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ namespace kyosu::tags

KYOSU_DEFERS_CALLABLE(minus_);

template<eve::ordered_value T>
template<eve::value T>
static KYOSU_FORCEINLINE auto deferred_call(auto, T const& v) noexcept { return -v; }
// there is no other implementation

template<typename T>
KYOSU_FORCEINLINE auto operator()(T const& target) const noexcept -> decltype(eve::tag_invoke(*this, target))
Expand Down

0 comments on commit ab5cbce

Please sign in to comment.