diff --git a/include/stdx/utility.hpp b/include/stdx/utility.hpp index 8783a1c..a0ab217 100644 --- a/include/stdx/utility.hpp +++ b/include/stdx/utility.hpp @@ -157,10 +157,10 @@ struct type_val { template >> - friend constexpr auto operator*(T, U const &) -> value_marker { + friend constexpr auto operator-(T, U const &) -> value_marker { return {}; } - friend constexpr auto operator*(type_val const &f) -> type_val { return f; } + friend constexpr auto operator-(type_val const &f) -> type_val { return f; } // NOLINTNEXTLINE(google-explicit-constructor) template constexpr operator T() const { @@ -236,7 +236,7 @@ template constexpr auto is_ct_v = is_ct_v; #ifndef STDX_IS_TYPE #define STDX_IS_TYPE(...) \ - ::stdx::cxv_detail::is_type #endif