https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100900
康桓瑋 <hewillk at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hewillk at gmail dot com --- Comment #1 from 康桓瑋 <hewillk at gmail dot com> --- (In reply to Avi Kivity from comment #0) > clang++ complains: > > /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/ranges:3392: > 19: error: missing 'typename' prior to dependent type name > 'iterator_traits<iterator_t<_Base>>::iterator_category' > using _Cat = > iterator_traits<iterator_t<_Base>>::iterator_category; Clang doesn't fully support the C++20 language features that libstdc++ uses in its implementation (Down with typename!). http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html