refactor: 💥 basic_concepts, quantity and quantity_cast refactored

BREAKING CHANGE:  ScalableNumber renamed to QuantityValue

Resolves #107
This commit is contained in:
Mateusz Pusz committed 2020-10-06 18:17:52 +02:00
1 parent 40f205b381
commit cfc90f4aac
96 files changed
+1620 -1017

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ namespace units {
* @tparam U a measurement unit of the quantity point
* @tparam Rep a type to be used to represent values of a quantity point
*/
template<Dimension D, UnitOf<D> U, ScalableNumber Rep = double>
template<Dimension D, UnitOf<D> U, QuantityValue Rep = double>
class quantity_point {
public:
using quantity_type = quantity<D, U, Rep>;