feat: 💥 quantity_point does not provide zero() anymore

This commit is contained in:
Mateusz Pusz
2023-10-15 09:39:18 +02:00
parent fb71971ef0
commit b96be72457
3 changed files with 14 additions and 24 deletions
@@ -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(); }
{