[libcxx-commits] [PATCH] D127675: [libc++] Removes unneeded <iterator> includes.

Stephan Bergmann via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 15 22:35:36 PDT 2022


sberg added a comment.

But now

  #include <array>
  auto b = std::begin("");

fails to compile, even though [iterator.range]/1 states:  "In addition to being available via inclusion of the <iterator> header, the function templates in 23.7 are
available when any of the following headers are included: <array> (22.3.2), [...]"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127675/new/

https://reviews.llvm.org/D127675



More information about the libcxx-commits mailing list