[libcxx-commits] [PATCH] D106708: [libc++] Add range_size_t
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 26 07:54:58 PDT 2021
ldionne marked 4 inline comments as done.
ldionne added inline comments.
================
Comment at: libcxx/include/__ranges/concepts.h:73
+ template<sized_range _Rp>
+ using range_size_t = decltype(ranges::size(declval<_Rp&>()));
+
----------------
Quuxplusone wrote:
> This is actually from section [range.range], not [range.sized]. I doubt we care.
Yeah, I couldn't put it in the section above cause it needs `sized_range` to be defined. I won't add another comment, that would just be confusing IMO.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106708/new/
https://reviews.llvm.org/D106708
More information about the libcxx-commits
mailing list