refactor: deleted function not needed in validated_type

This commit is contained in:
Mateusz Pusz
2024-06-22 18:58:22 +02:00
parent 2c578d92df
commit 47c5563e16

View File

@@ -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_); }