Discussion

Ask HN: How to refresh on modern features of C++?

I first learned C++ 14 years ago and have only used it in a non-trivial fashion on one or two short projects since then.

Today, reading an article on popular C++ myths [1], I now realized there are a TON of things I didn't realize modern C++ can do now. auto, unique_ptr, for_each, and range-for loops were new to me. I'm not 100% certain if all of these were recent additions to the language.

What are some things I can do to brush up on the modern features of C++?

[1] https://isocpp.org/blog/2014/12/myths-1

101 points ctb_mg 12 years ago 62 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton