refactor: explicit cleanup for deduction guides of quantity and quantity_point
This commit is contained in:
1 parent
c51b6e1f75
commit
06d9197f44
2 files changed
+2
-2
No files matched your search
@@ -640,7 +640,7 @@ public:
|
||||
|
||||
// CTAD
|
||||
template<Representation Value, Reference R>
|
||||
explicit(false) quantity(Value v, R) -> quantity<R{}, Value>;
|
||||
quantity(Value v, R) -> quantity<R{}, Value>;
|
||||
|
||||
template<Representation Value>
|
||||
explicit(false) quantity(Value) -> quantity<one, Value>;
|
||||
|
||||
@@ -546,7 +546,7 @@ public:
|
||||
|
||||
// CTAD
|
||||
template<Quantity Q>
|
||||
quantity_point(Q q) -> quantity_point<Q::reference, default_point_origin(Q::reference), typename Q::rep>;
|
||||
explicit quantity_point(Q q) -> quantity_point<Q::reference, default_point_origin(Q::reference), typename Q::rep>;
|
||||
|
||||
template<Quantity Q, PointOriginFor<Q::quantity_spec> PO>
|
||||
quantity_point(Q q, PO) -> quantity_point<Q::reference, PO{}, typename Q::rep>;
|
||||
|
||||
Reference in new issue
Block a user