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
Comments are closed.