What's new in C++17, with lots of examples

  • Every time I see one of these new revisions, I can't help but think that the type system has become the roadrunner and the STL has become wile e coyote, complete with dynamite and cartoon physics.

    Seriously though, does anyone actually use any of the post-C++-11 stuff? I can count on one hand the times I've seen nonironic use of a C++-11 extension in a real project, and I've never seen use of -14 or -17 extensions.

  • There's too many people who understand C++, and C++17 is going to fix that.

  • I feel like he went through all this effort just to make the joke "A more perfect union."

    But seriously, a great write up. std::any looks like it could be dangerous in the hands of the inexperienced, especially in a sea of other changes that makes working with types easier and safer.

  • The "structured bindings" feature seems potentially dangerous. I guess it helps unpacking tuples and getting references to tuple members. But it seems to have opened up a whole new set of side effects.

  • I wish there was a resource like this for python2 vs python3. I'm trying to switch to Python3.