[libc-commits] [libc] [llvm] [libc][freebsd] initialize freebsd support (PR #124459)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Wed May 13 19:16:21 PDT 2026
================
@@ -125,20 +125,27 @@ LIBC_INLINE constexpr auto tuple_cat(const Tuples &...tuples) {
} // namespace LIBC_NAMESPACE_DECL
// Standard namespace definitions required for structured binding support.
+
+#ifdef _LIBCPP_BEGIN_NAMESPACE_STD
+_LIBCPP_BEGIN_NAMESPACE_STD
+#else
namespace std {
+#endif
template <class T> struct tuple_size;
template <size_t Idx, class T> struct tuple_element;
template <typename... Ts>
-struct tuple_size<LIBC_NAMESPACE::cpp::tuple<Ts...>>
- : LIBC_NAMESPACE::cpp::tuple_size<LIBC_NAMESPACE::cpp::tuple<Ts...>> {};
+struct tuple_size<::LIBC_NAMESPACE::cpp::tuple<Ts...>>
----------------
SchrodingerZhu wrote:
separated and made this patch stack onto that PR.
https://github.com/llvm/llvm-project/pull/124459
More information about the libc-commits
mailing list