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 a1d8c4d commit c1d323aCopy full SHA for c1d323a
src/core/include/mp-units/bits/hacks.h
@@ -81,7 +81,7 @@
81
// workarounds for https://cplusplus.github.io/CWG/issues/2387.html
82
#define MP_UNITS_INLINE inline
83
84
-#if __cpp_auto_cast >= 202110L && MP_UNITS_COMP_GCC != 12
+#if __cpp_auto_cast >= 202110L && MP_UNITS_COMP_GCC > 13
85
#define MP_UNITS_NONCONST_TYPE(expr) decltype(auto(expr))
86
#else
87
#define MP_UNITS_NONCONST_TYPE(expr) std::remove_const_t<decltype(expr)>
0 commit comments