View | Details | Raw Unified | Return to bug 40369
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- gcc/libstdc++-v3/include/std/ranges
0
++ gcc/libstdc++-v3/include/std/ranges
Lines 3525-3531 namespace views Link Here
3525
	  static auto _S_iter_cat()
3525
	  static auto _S_iter_cat()
3526
	  {
3526
	  {
3527
	    using _Base = elements_view::_Base<_Const>;
3527
	    using _Base = elements_view::_Base<_Const>;
3528
	    using _Cat = iterator_traits<iterator_t<_Base>>::iterator_category;
3528
	    using _Cat = typename iterator_traits<iterator_t<_Base>>::iterator_category;
3529
	    using _Res = decltype((std::get<_Nm>(*std::declval<iterator_t<_Base>>())));
3529
	    using _Res = decltype((std::get<_Nm>(*std::declval<iterator_t<_Base>>())));
3530
	    if constexpr (!is_lvalue_reference_v<_Res>)
3530
	    if constexpr (!is_lvalue_reference_v<_Res>)
3531
	      return input_iterator_tag{};
3531
	      return input_iterator_tag{};

Return to bug 40369