[libcxx-commits] [clang] [libcxx] [clang][WIP] std::embed and #depend implementation (PR #190578)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Apr 5 23:33:38 PDT 2026
================
@@ -632,6 +632,13 @@ __cpp_lib_void_t 201411L <type_traits>
# define __cpp_lib_variant 202306L
#endif
+#if _LIBCPP_STD_VER >= 23
+# if __has_builtin(__builtin_std_embed) || (defined(_LIBCPP_HAS_EMBED) && (_LIBCPP_HAS_EMBED != 0))
+# define __cpp_lib_embed 202607L
+# endif
+#endif
----------------
H-G-Hristov wrote:
I am pretty sure this file is generated and you shouldn't set the FTM like that manually. See libcxx/utils/generate_feature_test_macro_components.py
https://github.com/llvm/llvm-project/pull/190578
More information about the libcxx-commits
mailing list