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 22a3dae commit d40f6dcCopy full SHA for d40f6dc
libcxx/include/__cxx03/__config
@@ -1218,7 +1218,8 @@ typedef __char32_t char32_t;
1218
# define _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CHECK
1219
# endif
1220
1221
-# if defined(__cpp_explicit_this_parameter)
+// Clang-18 has support for deducing this, but it does not set the FTM.
1222
+# if defined(__cpp_explicit_this_parameter) || (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1800)
1223
# define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER
1224
1225
0 commit comments