https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95322

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Attempting to work around this by using views::common like so

       auto view3 = view1 | std::views::transform([] (int i) { return i + 3;})
| std::views::common;
       /* ... */
       std::ranges::cbegin(view3) == std::ranges::end(view3);

instead results is a compilation failure in stl_iterator.h:

/home/patrick/code/gcc/libstdc++-v3/include/bits/stl_iterator.h:1772:27: error:
‘_Common_iter_proxy’ was not declared in this scope; did you mean
‘std::__detail::_Common_iter_proxy’?         1772 |  return
_Common_iter_proxy(*_M_it);                                                    
      |         ~~~~~~~~~~~~~~~~~~^~~~~~~~                                     
                                                                               
                                    |         std::__detail::_Common_iter_proxy
                                                                               
                                                           
/home/patrick/code/gcc/libstdc++-v3/include/bits/stl_iterator.h:1572:13: note:
‘std::__detail::_Common_iter_proxy’ declared here

Reply via email to