https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100900
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>: https://gcc.gnu.org/g:23fa1e7eab7680ae0488b4c8802b0bcd8f78425d commit r11-8519-g23fa1e7eab7680ae0488b4c8802b0bcd8f78425d Author: Avi Kivity <a...@scylladb.com> Date: Mon Jun 7 11:19:05 2021 -0400 libstdc++: add missing typename for dependent type in ranges::elements_view [PR100900] Clang complains about the missing typename. I believe it's not required in a more complete implementation of C++, but it's nicer to support less complete implementations. PR libstdc++/100900 libstdc++-v3/ChangeLog: * include/std/ranges (elements_view::__iter_cat::_S_iter_cat): Add missing typename. (cherry picked from commit 5e2e15f212e2458a1258b8c856895c755460bc6b)