— But it's not working even in online compilers 🤔
— Can i see the snippet of the code?
— Some C++17 things were added as recently as 9.1
— Don't expect something as old as 7.4 to work well with C++17
Yes, just found out that if you press "Run this code" on this page it will show the same errorhttps://en.cppreference.com/w/cpp/algorithm/for_each_n
— Which os do you have?
— Ubuntu LTS
— You really should build yourself a gcc toolchain, because that's very outdated
— Or install a better distro ( ͡° ͜ʖ ͡°)
— Nah, I pretty satisfied with it. The compiler supports most of the C++17 features that I need.
— Like Fedora u.u
— That's what I am talking about Is there an online compiler which supports this??