C++17 - The Best Features
summary
C++17 adds concrete tools and examples: inline variables let header-only globals share one counter so a header-only new tracker works without extra CPP files; constexpr if enables a single template function to compile different branches so impossible runtime paths never need to compile; variant with overload/deduction guides replaces pointer polymorphism with value types and easy visitors using combined lambdas; and combining filesystem with transform_reduce plus parallel execution cuts a real directory size walk time by about 50 percent.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:44Compile Time Switch
- 4:24Conditional Checks at Compile Time with an Initialization
- 11:06Deduction Guides
- 12:19Boosts File System
- 14:07Parallel Algorithms
- 16:14Uniform Initialization
- 19:04Brace Initialization








