mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
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