[libcxx-commits] [PATCH] D122072: [libc++][test] Adds an cpp20_output_iterator.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 19 11:55:34 PDT 2022


Mordante added a subscriber: philnik.
Mordante added a comment.

@philnik if you start to work on the modifying ranges patches this new iterator will be useful for your tests.



================
Comment at: libcxx/test/support/test_iterators.h:531
+
+    TEST_CONSTEXPR explicit cpp20_output_iterator(It it) : it_(it) {}
+    cpp20_output_iterator(cpp20_output_iterator&&) = default;
----------------
If D122074 is abandoned, there's no need for the pre C++20 support in this class.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122072



More information about the libcxx-commits mailing list