Skip to content

Commit 4ccd8f9

Browse files
committed
Addressed review comments
1 parent 69d4edd commit 4ccd8f9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

libcxx/docs/ReleaseNotes/21.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Implemented Papers
5353
- P2711R1: Making multi-param constructors of ``views`` ``explicit`` (`Github <https://github.com/llvm/llvm-project/issues/105252>`__)
5454
- P2770R0: Stashing stashing ``iterators`` for proper flattening (`Github <https://github.com/llvm/llvm-project/issues/105250>`__)
5555
- P2655R3: ``common_reference_t`` of ``reference_wrapper`` Should Be a Reference Type (`Github <https://github.com/llvm/llvm-project/issues/105260>`__)
56-
- P3060R2: Add ``std::views::indices(n)``
56+
- P3060R3: Add ``std::views::indices(n)``
5757

5858
Improvements and New Features
5959
-----------------------------

libcxx/include/__ranges/iota_view.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ inline namespace __cpo {
393393
inline constexpr auto iota = __iota::__fn{};
394394
} // namespace __cpo
395395

396-
397396
# if _LIBCPP_STD_VER >= 26
398397

399398
inline constexpr auto indices = [](__integer_like auto __size) {

libcxx/modules/std/ranges.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ export namespace std {
114114

115115
namespace views {
116116
using std::ranges::views::iota;
117+
#if _LIBCPP_STD_VER >= 23
118+
using std::ranges::views::indices;
119+
#endif
117120
} // namespace views
118121

119122
#if _LIBCPP_STD_VER >= 23

0 commit comments

Comments
 (0)