Book description
- Use template argument deduction for class templates
- Declare non-type template parameters with auto-folding expressions and auto deduction from braced-init-list
- Apply lambdas and lambda capture by value
- Work with inline variables, nested namespaces, structured bindings, and selection statements with initializer
- Use utf-8 character literals
- Carry out direct-list initialization of enums
- Use these new C++17 library features or class templates from std::variant, optional, any, string_view, invoke, apply and more
- Do splicing for maps and sets, also new to C++17
Table of contents
- Cover
- Front Matter
- 1. Hello World
- 2. Compile and Run
- 3. Variables
- 4. Operators
- 5. Pointers
- 6. References
- 7. Arrays
- 8. Strings
- 9. Conditionals
- 10. Loops
- 11. Functions
- 12. Classes
- 13. Constructors
- 14. Inheritance
- 15. Overriding
- 16. Access Levels
- 17. Static Members
- 18. Enum Types
- 19. Structs and Unions
- 20. Operator Overloading
- 21. Custom Conversions
- 22. Namespaces
- 23. Constants
- 24. Preprocessor
- 25. Exception Handling
- 26. Type Conversions
- 27. Smart Pointers
- 28. Templates
- 29. Headers
- Back Matter
Product information
- Title: C++17 Quick Syntax Reference: A Pocket Guide to the Language, APIs and Library
- Author(s):
- Release date: March 2018
- Publisher(s): Apress
- ISBN: 9781484236000
You might also like
book
C++20 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
This quick C++ 20 guide is a condensed code and syntax reference to the popular programming …
book
C++ Standard Library Quick Reference
This quick reference is a condensed reference guide to the essential data structures, algorithms, and functions …
book
Beginning Android C++ Game Development
Beginning Android C++ Game Development introduces general and Android game developers like you to Android's powerful …
book
C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners
Ready to learn programming with less effort and more fun? Then do it the lazy way! …