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

Christopher Di Bella via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 19 10:51:39 PDT 2021


cjdb added inline comments.


================
Comment at: libcxx/include/__algorithm/equal.h:15-16
 #include <__algorithm/comp.h>
 #include <__iterator/iterator_traits.h>
-#include <iterator> // FIXME: replace with <__iterator/distance.h> when it lands
+#include <__iterator/distance.h>
 
----------------
Please sort these alphabetically.


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