forked from mpusz/mp-units
feat: 💥 quantity_point does not provide zero() anymore
This commit is contained in:
@@ -85,12 +85,6 @@ public:
|
||||
quantity_type quantity_from_origin_; // needs to be public for a structural type
|
||||
|
||||
// static member functions
|
||||
[[nodiscard]] static constexpr quantity_point zero() noexcept
|
||||
requires requires { quantity_type::zero(); }
|
||||
{
|
||||
return quantity_point(quantity_type::zero());
|
||||
}
|
||||
|
||||
[[nodiscard]] static constexpr quantity_point min() noexcept
|
||||
requires requires { quantity_type::min(); }
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user