[libcxx-commits] [libcxx] [libc++] P3016R6: Resolve inconsistencies in begin/end for `valarray` and braced initializer lists (PR #173637)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 3 08:26:54 PST 2026


================
@@ -596,14 +598,18 @@ POLICY:  For non-variadic implementations, the number of arguments is limited
 #    include <stdexcept>
 #    include <tuple>
 #    include <type_traits>
-#    include <typeinfo>
 #    include <utility>
 #    include <vector>
 #  endif
 
 #  if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER == 23
 #    include <__vector/vector.h>
 #  endif
+
+// standard-mandated includes
----------------
philnik777 wrote:

Same here. The required includes should be before any `_LIBCPP_REMOVE_TRANSITIVE_INCLUDES` as well.

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


More information about the libcxx-commits mailing list