ALT Linux Bugzilla
– Attachment 9472 Details for
Bug 40369
missing 'typename' prior to dependent type name 'iterator_traits<iterator_t<_Base>>::iterator_category'
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Ranges patch
alt-ranges.patch (text/plain), 530 bytes, created by
Денис Назаров
on 2021-07-04 18:48:48 MSK
(
hide
)
Description:
Ranges patch
Filename:
MIME Type:
Creator:
Денис Назаров
Created:
2021-07-04 18:48:48 MSK
Size:
530 bytes
patch
obsolete
>--- gcc/libstdc++-v3/include/std/ranges >+++ gcc/libstdc++-v3/include/std/ranges >@@ -3525,7 +3525,7 @@ namespace views > static auto _S_iter_cat() > { > using _Base = elements_view::_Base<_Const>; >- using _Cat = iterator_traits<iterator_t<_Base>>::iterator_category; >+ using _Cat = typename iterator_traits<iterator_t<_Base>>::iterator_category; > using _Res = decltype((std::get<_Nm>(*std::declval<iterator_t<_Base>>()))); > if constexpr (!is_lvalue_reference_v<_Res>) > return input_iterator_tag{};
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40369
: 9472