[libcxx-commits] [PATCH] D127418: [libc++] Use bounded iterators in std::span when the debug mode is enabled

Jan Korous via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 9 12:26:27 PDT 2022


jkorous added inline comments.


================
Comment at: libcxx/include/span:218
 #endif
     using reverse_iterator       = _VSTD::reverse_iterator<iterator>;
 
----------------
This gets `rbegin()` and `rend()` covered as well, right? Shall we add some tests to make the guarantee explicit?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127418



More information about the libcxx-commits mailing list