[libcxx-commits] [PATCH] D101476: [libcxx][ranges] Add ranges::data CPO.
Christopher Di Bella via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 11 11:39:12 PDT 2021
cjdb added inline comments.
================
Comment at: libcxx/include/__ranges/data.h:40
+ template <class _Tp>
+ concept __valid_arg_type = __can_borrow<_Tp> && __complete_array<_Tp>;
+
----------------
Similarly to the CPOs in `__ranges/access.h`, we want arrays of incomplete types to be SFINAE-unfriendly.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101476/new/
https://reviews.llvm.org/D101476
More information about the libcxx-commits
mailing list