mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
refactor: deleted function not needed in validated_type
This commit is contained in:
@@ -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_); }
|
||||
|
Reference in New Issue
Block a user