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 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, l...

Full description

Bibliographic Details
Main Author: Olsson, Mikael
Format: eBook
Language:English
Published: Berkeley, CA Apress 2020
Edition:4th ed
Series:ITpro collection
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Description
Summary: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 wont 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. You will: 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
Physical Description:209 pages
ISBN:9781484259955