forked from mpusz/mp-units
fix: CTAD from raw value restored for quantity_point of dimensionless[one]
This commit is contained in:
@@ -224,6 +224,9 @@ public:
|
||||
};
|
||||
|
||||
// CTAD
|
||||
template<Representation Rep>
|
||||
explicit quantity_point(Rep) -> quantity_point<dimensionless[one], absolute_point_origin<dimensionless>{}, Rep>;
|
||||
|
||||
template<Quantity Q>
|
||||
explicit quantity_point(Q) -> quantity_point<Q::reference, absolute_point_origin<Q::quantity_spec>{}, typename Q::rep>;
|
||||
|
||||
|
Reference in New Issue
Block a user