| ▲ | spacechild1 a day ago | |||||||||||||
Yes! Just to list a few personal highlights: C++14:
C++17:
C++20: | ||||||||||||||
| ▲ | mrlongroots a day ago | parent [-] | |||||||||||||
Same, I don't understand the complaints against modern C++. A lambda, used for things like comparators etc, is much simpler than structs with operators overloaded defined elsewhere. My only complaint is the verbosity, things like `std::chrono::nanonseconds` break even simple statements into multiple lines, and you're tempted to just use uint64_t instead. And `std::thread` is fine but if you want to name your thread you still need to get the underlying handle and call `pthread_setname_np`. It's hard work pulling off everything C++ tries to pull off. | ||||||||||||||
| ||||||||||||||