[libcxx-commits] [PATCH] D100269: [libcxx][ranges] adds `ranges::range`, `ranges::common_range`, and range aliases
Christopher Di Bella via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 27 10:02:59 PDT 2021
cjdb added inline comments.
================
Comment at: libcxx/include/__ranges/concepts.h:38
+
+ // `iterator_t` defined in <__ranges/begin.h>
+
----------------
ldionne wrote:
> That's kinda weird, would it be possible to define it here instead?
Your options are:
* it lives here exclusively, `__ranges/access.h` (`__ranges/end.h` in current D100255) needs to use `decltype(ranges::begin(declval<_Rp&>()))` wherever it currently uses `iterator_t`
* it lives in `__ranges/access.h` exclusively, comment remains
* it lives in both
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100269/new/
https://reviews.llvm.org/D100269
More information about the libcxx-commits
mailing list