diff --git a/example/include/validated_type.h b/example/include/validated_type.h index 30722c50..f4df44b2 100644 --- a/example/include/validated_type.h +++ b/example/include/validated_type.h @@ -97,7 +97,6 @@ public: #endif - constexpr T& value() & noexcept = delete; [[nodiscard]] constexpr const T& value() const& noexcept { return value_; } [[nodiscard]] constexpr T&& value() && noexcept { return std::move(value_); } [[nodiscard]] constexpr const T&& value() const&& noexcept { return std::move(value_); }