[libcxx-commits] [libcxx] [libc++] Remove a few includes from <__functional/hash.h> (PR #83254)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 11 09:51:06 PDT 2024


================
@@ -37,6 +38,12 @@ false_type __and_helper(...);
 template <class... _Pred>
 using _And _LIBCPP_NODEBUG = decltype(std::__and_helper<_Pred...>(0));
 
+template <bool... _Preds>
+struct __all_dummy;
+
+template <bool... _Pred>
+struct __all : _IsSame<__all_dummy<_Pred...>, __all_dummy<((void)_Pred, true)...> > {};
----------------
mordante wrote:

Can you mention code movement in the description. Based on the title I didn't expect this hunk.

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


More information about the libcxx-commits mailing list