[libcxx-commits] [PATCH] D123139: [libc++] Use cpp20_output_iterator in tests.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 5 09:36:28 PDT 2022


Mordante created this revision.
Mordante added a reviewer: philnik.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Adds the new cpp20_output_iterator in the ranges::transform test.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123139

Files:
  libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp


Index: libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
===================================================================
--- libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
+++ libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/ranges.transform.pass.cpp
@@ -571,6 +571,7 @@
 
 int main(int, char**) {
   test_iterators_in1_in2<cpp17_output_iterator<int*>>();
+  test_iterators_in1_in2<cpp20_output_iterator<int*>>();
   test_iterators_in1_in2<forward_iterator<int*>>();
   test_iterators_in1_in2<bidirectional_iterator<int*>>();
   test_iterators_in1_in2<random_access_iterator<int*>>();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123139.420554.patch
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220405/e3860787/attachment-0001.bin>


More information about the libcxx-commits mailing list