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{}; |