- Mastering C++ Programming
- Jeganathan Swaminathan
- 167字
- 2021-07-02 18:28:47
Summary
In this chapter, you got to know interesting new features introduced in C++17. You learned the super simple C++17 nested namespace syntax. You also learned datatype detection with a braced initializer list and the new rule imposed in the C++17 standard.
You also noticed that static_assert can be done without assert failure messages. Also, using std::invoke(), you can now invoke global functions, function pointers, member functions, and static class member functions. And, using structured binding, you could now initialize multiple variables with a return value.
You also learned that the if and switch statements can have a local-scoped variable right before the if condition and switch statements. You learned about auto type detection of class templates. Lastly, you used inline variables.
There are many more C++17 features, but this chapter attempts to cover the most useful features that might be required for most of the developers. In the next chapter, you will be learning about the Standard Template Library.
- Instant Testing with CasperJS
- JavaScript高效圖形編程
- C# Programming Cookbook
- 你不知道的JavaScript(中卷)
- 微信小程序項目開發實戰
- C語言程序設計
- Python硬件編程實戰
- Learning Unreal Engine Game Development
- C# 7.1 and .NET Core 2.0:Modern Cross-Platform Development(Third Edition)
- Laravel Design Patterns and Best Practices
- Flink核心技術:源碼剖析與特性開發
- MySQL數據庫教程(視頻指導版)
- 高性能MVVM框架的設計與實現:San
- Oracle Database 12c DBA官方手冊(第8版)
- Qt編程快速入門