Skip to content

Commit 69d4edd

Browse files
committed
House keeping
1 parent 2a14a04 commit 69d4edd

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

libcxx/include/ranges

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ namespace std::ranges {
267267
template<class W, class Bound>
268268
inline constexpr bool enable_borrowed_range<iota_view<W, Bound>> = true;
269269
270+
namespace views {
271+
inline constexpr unspecified iota = unspecified;
272+
inline constexpr unspecified indices = unspecified; // Since C++26
273+
}
274+
270275
// [range.repeat], repeat view
271276
template<class T>
272277
concept integer-like-with-usable-difference-type = // exposition only

libcxx/test/std/ranges/range.factories/range.iota.view/indices.pass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
// REQUIRES: std-at-least-c++26
1010

11+
// ranges
12+
13+
// inline constexpr unspecified indices = unspecified;
14+
1115
#include <cassert>
1216
#include <cstddef>
1317
#include <ranges>

0 commit comments

Comments
 (0)