C++17 in details: Code Simplification—Bartlomiej Filipek

Save to:
Instapaper Pocket Readability

The series continue.

C++17 in details: Code Simplification

by Bartlomiej Filipek

From the article:

You might say that most of the new language features (not to mention The Standard Library improvements) are there to write simpler/cleaner code. The “C++17 in details” series reviews most of the bigger things, still for today, I tried to pick a few features that out of the box make your code more compact.

  • Structured bindings/Decomposition declarations
  • Init-statement for if/switch
  • Inline variables
  • constexpr if (again!)
  • a few other mentions

Add a Comment

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.