[libcxx-commits] [PATCH] D106205: [libcxx][ranges] Add `counted_iterator`.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 22 10:57:37 PDT 2021


zoecarver marked 4 inline comments as done.
zoecarver added inline comments.


================
Comment at: libcxx/include/__iterator/counted_iterator.h:204
+  {
+    return __current_[__n];
+  }
----------------
Mordante wrote:
> How do you feel about adding `_LIBCPP_ASSERTS` to validate the precondtions?
I feel good about that :) done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106205



More information about the libcxx-commits mailing list