refactor: QuantityValue concept renamed to Representation

This commit is contained in:
Mateusz Pusz committed 2021-03-19 07:53:18 +01:00
1 parent 67b2ad5d05
commit 88e642ec74
97 files changed
+197 -197

No files matched your search

+2 -2
View File
@@ -27,7 +27,7 @@
namespace units {
template<Dimension D, UnitOf<D> U, QuantityValue Rep>
template<Dimension D, UnitOf<D> U, Representation Rep>
class quantity;
template<Dimension D, UnitOf<D> U>
@@ -102,7 +102,7 @@ struct reference {
template<Reference R2>
[[nodiscard]] friend constexpr reference_divide<reference, R2> operator/(reference, R2) { return {}; }
template<QuantityValue Rep>
template<Representation Rep>
[[nodiscard]] friend constexpr Quantity auto operator*(const Rep& lhs, reference)
{
return quantity<D, U, Rep>(lhs);