[libcxx-commits] [PATCH] D130552: [libc++][ranges] Implement `ranges::generate{, _n}`.

Hui via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 26 06:09:02 PDT 2022


huixie90 accepted this revision.
huixie90 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ranges_generate.pass.cpp:139
+  // Longer sequence.
+  test_one<Iter, Sent>(std::array{-10, -20, -30, -40, -50}, gen, {1, 2, 3, 4, 5});
+}
----------------
bit: would it be possible to pass in uninitialized array instead ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130552



More information about the libcxx-commits mailing list