[libcxx-commits] [PATCH] D108393: [libc++] Include <__iterator/distance.h> instead of <iterator> in a few algorithm headers

Joe Loser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 19 12:06:30 PDT 2021


jloser added inline comments.


================
Comment at: libcxx/include/__algorithm/equal.h:16
+#include <__iterator/distance.h>
 #include <__iterator/iterator_traits.h>
 
----------------
Quuxplusone wrote:
> You need `<type_traits>` in both places now, for `add_lvalue_reference_t`. Otherwise the modules build breaks.
Fixed. Good spot, @Quuxplusone.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108393



More information about the libcxx-commits mailing list