[libcxx-commits] [PATCH] D108575: [libcxx] Define insert_iterator::iter with ranges::iterator_t
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 2 10:23:03 PDT 2021
ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.
LGTM with my comments applied.
================
Comment at: libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/cxx20_iter_member.pass.cpp:13
+
+// insert_iterator
+
----------------
Please add a comment explaining what this is testing. Something like `Make sure we use ranges::iterator_t instead of Container::iterator in C++20 and above`.
================
Comment at: libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iterator/cxx20_iter_member.pass.cpp:35
+
+constexpr bool test_no_iterator_alias() {
+ NoIteratorAlias c;
----------------
More consistent with what we usually do.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108575/new/
https://reviews.llvm.org/D108575
More information about the libcxx-commits
mailing list