[libcxx-commits] [PATCH] D137476: [libc++] Add utilites for instantiating functions with multiple types

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 2 15:17:36 PST 2022


var-const added inline comments.


================
Comment at: libcxx/test/support/test_iterators.h:1307
+using bidirectional_iterator_list =
+    concatenate_t<random_access_iterator_list<Ptr>, type_list<bidirectional_iterator<Ptr>>>;
+
----------------
Question: why does `bidirectional_iterator_list` include random access iterators? From the name, I would expect it to be _at most_ bidirectional.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137476



More information about the libcxx-commits mailing list