feat: 💥 quantity_point does not provide zero() anymore

This commit is contained in:
Mateusz Pusz committed 2023-10-15 09:39:18 +02:00
1 parent fb71971ef0
commit b96be72457
3 files changed
+14 -24

No files matched your search

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