Overview
The first pocket syntax code reference on C++20
Includes succinct code examples
Utilizes new C++20 class templates
Access this book
Tax calculation will be finalised at checkout
Other ways to access
Table of contents (29 chapters)
Keywords
About this book
This quick C++ 20 guide is a condensed code and syntax reference to the popular programming language, fully updated for C++20. It presents the essential C++20 code syntax in a well-organized format that can be used as a handy reference.
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++.
Authors and Affiliations
About the author
Bibliographic Information
Book Title: C++20 Quick Syntax Reference
Book Subtitle: A Pocket Guide to the Language, APIs, and Library
Authors: Mikael Olsson
DOI: https://doi.org/10.1007/978-1-4842-5995-5
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Mikael Olsson 2020
Softcover ISBN: 978-1-4842-5994-8Published: 30 July 2020
eBook ISBN: 978-1-4842-5995-5Published: 29 July 2020
Edition Number: 4
Number of Pages: XVIII, 205
Number of Illustrations: 1 b/w illustrations
Topics: Programming Languages, Compilers, Interpreters, Programming Techniques