[libcxx][ranges] makes `ranges::subrange` a borrowed range
authorChristopher Di Bella <cjdb@google.com>
Sat, 17 Jul 2021 01:35:42 +0000 (01:35 +0000)
committerChristopher Di Bella <cjdb@google.com>
Sat, 17 Jul 2021 17:25:56 +0000 (17:25 +0000)
commit182ba8ab1b70a1604d4d29c214261456b589e730
tree686ee56b0bc3a4493ee7544ce5cf5a25826d500e
parentd3454ee8d2f4f61723d0a02f15cce8b4d8886786
[libcxx][ranges] makes `ranges::subrange` a borrowed range

Differential Revision: https://reviews.llvm.org/D106207
libcxx/include/__ranges/subrange.h
libcxx/include/ranges
libcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp [new file with mode: 0644]