C++20 Quick Syntax Reference
Apress (Verlag)
978-1-4842-5994-8 (ISBN)
This edition covers topics including designated initializers, lambdas and lambda captures, the spaceship operator, pack expressions, string literals as template parameters, atomic smart pointers, and contracts. It also covers library changes including extended futures, latches and barriers, task blocks, and text formatting.
In the C++20 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
Discover the key C++20 features
Work with concepts to constrain template arguments
Use modules as a replacement for header files
Take advantage of the three-way comparison operator
Create immediate functions using the consteval keyword
Make use of constexpr, constinit and designated initializers
Who This Book Is For
Experienced C++ programmers. Additionally, this is a concise, easily-digested introduction for other programmers new to C++.
Mikael Olsson is a professional web entrepreneur, programmer, and author. He works for an R&D company in Finland where he specializes in software development. In his spare time he writes books and creates websites that summarize various fields of interest. The books he writes are focused on teaching their subject in the most efficient way possible, by explaining only what is relevant and practical without any unnecessary repetition or theory.
1. Hello World.- 2. Compile and Run.- 3. Variables.- 4. Operators.- 5. Pointers.- 6. References.- 7. Arrays.- 8. String.- 9. Conditionals.- 10. Loops.- 11. Functions.- 12. Class.- 13. Constructor.- 14. Inheritance.- 15. Overriding.- 16. Access Levels.- 17. Static.- 18. Enum.- 19. Struct and Union.- 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.
Erscheinungsdatum | 07.08.2020 |
---|---|
Zusatzinfo | 1 Illustrations, black and white; XVIII, 205 p. 1 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Apis • C++ • C++17 • Code • language • programming • Quick • Reference • STL • Syntax |
ISBN-10 | 1-4842-5994-7 / 1484259947 |
ISBN-13 | 978-1-4842-5994-8 / 9781484259948 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich