We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad56124 commit 717351cCopy full SHA for 717351c
include/units/units.hpp
@@ -132,8 +132,8 @@ template <typename Q>
132
concept isQuantity = requires(Q q) { quantityChecker(q); };
133
134
// isArithmetic concept
135
-template <typename Q>
136
-concept isArithmetic = std::is_arithmetic_v<Q> || isQuantity<Q>;
+template <typename T>
+concept isArithmetic = std::is_arithmetic_v<T>;
137
138
// Isomorphic concept - used to ensure unit equivalency
139
template <typename Q, typename... Quantities>
0 commit comments