0%

Book Description

This quick C++17 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++17. It presents the essential C++ syntax in a well-organized format that can be used as a handy reference.

In the C++17 Quick Syntax Reference, you will find short, simple, and focused code examples.  This book includes a well laid out table of contents and a comprehensive index allowing for easy review. You won’t find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible.  The book is packed with useful information and is a must-have for any C++ programmer.

What You'll Learn
  • 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

Who This Book Is For

Experienced C++ programmers. Additionally, this is a concise, easily-digested introduction for other programmers new to C++.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Hello World
  4. 2. Compile and Run
  5. 3. Variables
  6. 4. Operators
  7. 5. Pointers
  8. 6. References
  9. 7. Arrays
  10. 8. Strings
  11. 9. Conditionals
  12. 10. Loops
  13. 11. Functions
  14. 12. Classes
  15. 13. Constructors
  16. 14. Inheritance
  17. 15. Overriding
  18. 16. Access Levels
  19. 17. Static Members
  20. 18. Enum Types
  21. 19. Structs and Unions
  22. 20. Operator Overloading
  23. 21. Custom Conversions
  24. 22. Namespaces
  25. 23. Constants
  26. 24. Preprocessor
  27. 25. Exception Handling
  28. 26. Type Conversions
  29. 27. Smart Pointers
  30. 28. Templates
  31. 29. Headers
  32. Back Matter
3.14.6.194