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.
NumberLike
1 parent 330e986 commit fef6f63Copy full SHA for fef6f63
src/core/include/mp-units/framework/representation_concepts.h
@@ -167,9 +167,9 @@ MP_UNITS_EXPORT inline constexpr ::mp_units::detail::modulus_impl::modulus_t mod
167
namespace detail {
168
169
template<typename T>
170
-concept NumberLike = Addable<T> &&
+concept NumberLike = Addable<T>
171
#if MP_UNITS_COMP_GCC != 12 && !defined(MP_UNITS_XCODE15_HACKS)
172
- WeaklyRegular<T>
+ && WeaklyRegular<T>
173
#endif
174
;
175
0 commit comments