[libcxx-commits] [PATCH] D157193: [libc++][ranges] P2116R9: Implements `views::enumerate`

Hristo Hristov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Oct 22 00:45:27 PDT 2023


H-G-Hristov added inline comments.


================
Comment at: libcxx/include/__ranges/enumerate_view.h:51
+template <view _View>
+  requires __range_with_movable_references<_View>
+class enumerate_view : public view_interface<enumerate_view<_View>> {
----------------
var-const wrote:
> Are we testing this constraint? (sorry if I missed it)
I added some tests to adaptor.pass.cpp. I am not entirely sure if it covers it all. Please let me know if it's sufficient.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157193



More information about the libcxx-commits mailing list