[libcxx-commits] [PATCH] D103335: [libcxx][ranges] Adds `common_iterator`.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 28 12:20:00 PDT 2021


zoecarver added inline comments.


================
Comment at: libcxx/include/__iterator/common_iterator.h:99
+             assignable_from<const _I2, _Iter> && assignable_from<const _S2&, _Sent>
+  constexpr common_iterator& operator=(const common_iterator<_I2, _S2>& __other) {
+    __u = __other.__u;
----------------
Note: all of these constexprs aren't required by the standard, but I'm filing an lwg issue for it. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103335



More information about the libcxx-commits mailing list