[libcxx-commits] [libcxx] [libc++] Remove <tuple> include from <__format/concepts.h> (PR #80214)
Mark de Wever via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 11 09:56:26 PDT 2024
================
@@ -63,6 +63,11 @@ struct _LIBCPP_TEMPLATE_VIS tuple_size<tuple<_Tp...> > : public integral_constan
template <class... _Tp>
struct _LIBCPP_TEMPLATE_VIS tuple_size<__tuple_types<_Tp...> > : public integral_constant<size_t, sizeof...(_Tp)> {};
+# if _LIBCPP_STD_VER >= 17
+template <class _Tp>
+inline constexpr size_t tuple_size_v = tuple_size<_Tp>::value;
+# endif
+
----------------
mordante wrote:
Can you mention this in the description?
https://github.com/llvm/llvm-project/pull/80214
More information about the libcxx-commits
mailing list