File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
test/std/ranges/range.adaptors/range.stride.view Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1753,6 +1753,7 @@ module cxx03_std_private_ranges_size [system] {
17531753 export std_private_type_traits_make_unsigned
17541754}
17551755module cxx03_std_private_ranges_split_view [system] { header "__ranges/split_view.h" }
1756+ module cxx03_std_private_ranges_stride_view [system] { header "__ranges/stride_view.h" }
17561757module cxx03_std_private_ranges_subrange [system] {
17571758 header "__ranges/subrange.h"
17581759 export std_private_ranges_subrange_fwd
Original file line number Diff line number Diff line change @@ -46,12 +46,12 @@ static_assert(HasOnlyConstBegin<std::ranges::stride_view<SimpleCommonConstView>>
4646static_assert (HasConstAndNonConstBegin<std::ranges::stride_view<UnSimpleConstView>>);
4747
4848constexpr bool test () {
49- const auto unsimple_const_view = UnSimpleConstView ();
50- const auto sv_unsimple_const = std::ranges::stride_view (unsimple_const_view, 1 );
49+ const auto unsimple_const_view = UnSimpleConstView ();
50+ const auto sv_unsimple_const = std::ranges::stride_view (unsimple_const_view, 1 );
5151 static_assert (std::same_as<decltype (*sv_unsimple_const.begin ()), double &>);
5252
53- auto simple_const_view = SimpleCommonConstView ();
54- auto sv_simple_const = std::ranges::stride_view (simple_const_view, 1 );
53+ auto simple_const_view = SimpleCommonConstView ();
54+ auto sv_simple_const = std::ranges::stride_view (simple_const_view, 1 );
5555 static_assert (std::same_as<decltype (*sv_simple_const.begin ()), int &>);
5656
5757 return true ;
You can’t perform that action at this time.
0 commit comments