From ccb06bc0c4685f473df3643e97bc0f44cb8aec2e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 10 Apr 2023 18:17:34 +0200 Subject: [PATCH] fix: CTAD from raw value restored for quantity_point of `dimensionless[one]` --- src/core/include/mp_units/quantity_point.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/include/mp_units/quantity_point.h b/src/core/include/mp_units/quantity_point.h index ae4a0705..080199bc 100644 --- a/src/core/include/mp_units/quantity_point.h +++ b/src/core/include/mp_units/quantity_point.h @@ -224,6 +224,9 @@ public: }; // CTAD +template +explicit quantity_point(Rep) -> quantity_point{}, Rep>; + template explicit quantity_point(Q) -> quantity_point{}, typename Q::rep>;