[libcxx-commits] [PATCH] D117043: [libc++] [ranges] Fix a missing auto(x) cast in ranges::data.
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 12 14:12:08 PST 2022
ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/include/__ranges/data.h:39
requires(_Tp&& __t) {
- { _VSTD::forward<_Tp>(__t) } -> __can_borrow;
- { __t.data() } -> __ptr_to_object;
+ { _LIBCPP_AUTO_CAST(__t.data()) } -> __ptr_to_object;
};
----------------
FWIW, these were changed after the original "one ranges proposal", which is what we implemented originally. So I suspect there's going to be at least a couple of papers to trivially mark as having been implemented when we take a look.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117043/new/
https://reviews.llvm.org/D117043
More information about the libcxx-commits
mailing list