[libcxx-commits] [libcxx] [libc++] Fix the declarative generation of FTMs (PR #108843)

S. B. Tam via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 17 05:26:44 PDT 2024


================
@@ -43,15 +43,16 @@ def test(output, expected):
 #  define __cpp_lib_any 201606L
 #  define __cpp_lib_parallel_algorithm 201603L
 #  define __cpp_lib_variant 202102L
+// define __cpp_lib_missing_FTM_in_older_standard 2017L
 #endif // _LIBCPP_STD_VER >= 17
 
 #if _LIBCPP_STD_VER >= 20
 #  if !defined(_LIBCPP_HAS_NO_THREADS) && _LIBCPP_AVAILABILITY_HAS_SYNC
 #    define __cpp_lib_barrier 201907L
 #  endif
 // define __cpp_lib_format 202110L
-#  undef __cpp_lib_variant
-#  define __cpp_lib_variant 202106L
+// define __cpp_lib_variant 202106L
----------------
cpplearner wrote:

Yes, this is correct.

https://github.com/llvm/llvm-project/pull/108843


More information about the libcxx-commits mailing list