[all-commits] [llvm/llvm-project] 502e5d: [libc++] Implement `ranges::{cbegin, cend}` per the...
Quuxplusone via All-commits
all-commits at lists.llvm.org
Tue Jan 4 13:19:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 502e5df0e08e0ea625b528e45fc92257273b6d89
https://github.com/llvm/llvm-project/commit/502e5df0e08e0ea625b528e45fc92257273b6d89
Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M libcxx/include/__ranges/access.h
M libcxx/test/std/ranges/range.access/begin.pass.cpp
M libcxx/test/std/ranges/range.access/end.pass.cpp
Log Message:
-----------
[libc++] Implement `ranges::{cbegin,cend}` per the spec.
The big change here is that they now work as intended for rvalues,
e.g. `ranges::cbegin(std::string_view("hello"))`.
Also, add tests verifying their return types.
Differential Revision: https://reviews.llvm.org/D116199
More information about the All-commits
mailing list