diff --git a/include/hyperion/mpl/value.h b/include/hyperion/mpl/value.h index 44cac87..b319968 100644 --- a/include/hyperion/mpl/value.h +++ b/include/hyperion/mpl/value.h @@ -109,7 +109,7 @@ namespace hyperion::mpl { /// - `TType` must not be `bool` /// /// @return the `value` of this specialization of `Value`, converted to `bool` - [[nodiscard]] explicit constexpr operator bool() const noexcept + [[nodiscard]] constexpr operator bool() const noexcept requires std::convertible_to && (!std::same_as) { return value; diff --git a/xmake.lua b/xmake.lua index cf5f58d..fa4b7a4 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,6 +1,6 @@ ---@diagnostic disable: undefined-global,undefined-field set_project("hyperion_mpl") -set_version("0.8.1") +set_version("0.8.2") set_xmakever("2.8.7")