Advertisement
Guest User

Untitled

a guest
Jun 19th, 2021
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. $ cat a.cpp
  2. #include <algorithm>
  3. $ clang++ -std=c++20 a.cpp
  4. In file included from a.cpp:1:
  5. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/algorithm:64:
  6. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/ranges_algo.h:35:
  7. In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/ranges_algobase.h:38:
  8. /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ranges:3526:19: error: missing 'typename' prior to dependent type name 'iterator_traits<iterator_t<_Base>>::iterator_category'
  9. using _Cat = iterator_traits<iterator_t<_Base>>::iterator_category;
  10. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11. 1 error generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement