2 parents a56575c + 0254457 commit 083c26eCopy full SHA for 083c26e
1 file changed
include/stdexec/__detail/__meta.hpp
@@ -414,9 +414,9 @@ namespace STDEXEC
414
template <template <class...> class _Fn, class... _Args>
415
using __mmemoize_q = __mmemoize<__q<_Fn>, _Args...>;
416
417
-#if STDEXEC_GCC()
418
- // GCC can not mangle builtins. __mangle_t introduces an
419
- // indirection that hides the builtin from the mangler.
+#if STDEXEC_GCC() || (STDEXEC_CLANG() && STDEXEC_CLANG_VERSION < 1800)
+ // GCC and Clang < 18 cannot mangle builtins. __mmangle_t introduces an indirection
+ // that hides the builtin from the mangler.
420
421
using __mmangle_t = __mmemoize_q<_Fn, _Args...>;
422
#else
0 commit comments