Read While You Wait - Get immediate ebook access, if available*, when you order a print book

C++20 Quick Syntax Reference

A Pocket Guide to the Language, APIs, and Library

Authors: Olsson, Mikael

Download source code Free Preview
  • The first pocket syntax code reference on C++20
  • Includes succinct code examples
  • Utilizes new C++20 class templates
see more benefits

Buy this book

eBook $24.99
price for USA
  • ISBN 978-1-4842-5995-5
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $34.99
price for USA
  • ISBN 978-1-4842-5994-8
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.
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++.

 



About the authors

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. 

Table of contents (29 chapters)

Table of contents (29 chapters)
  • Hello World

    Pages 1-4

    Olsson, Mikael

  • Compile and Run

    Pages 5-6

    Olsson, Mikael

  • Variables

    Pages 7-16

    Olsson, Mikael

  • Operators

    Pages 17-21

    Olsson, Mikael

  • Pointers

    Pages 23-28

    Olsson, Mikael

Buy this book

eBook $24.99
price for USA
  • ISBN 978-1-4842-5995-5
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $34.99
price for USA
  • ISBN 978-1-4842-5994-8
  • Free shipping for individuals worldwide
  • Immediate ebook access, if available*, with your print order
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
C++20 Quick Syntax Reference
Book Subtitle
A Pocket Guide to the Language, APIs, and Library
Authors
Copyright
2020
Publisher
Apress
Copyright Holder
Mikael Olsson
Distribution Rights
Standard Apress dist.
eBook ISBN
978-1-4842-5995-5
DOI
10.1007/978-1-4842-5995-5
Softcover ISBN
978-1-4842-5994-8
Edition Number
4
Number of Pages
XVIII, 205
Number of Illustrations
1 b/w illustrations
Topics

*immediately available upon purchase as print book shipments may be delayed due to the COVID-19 crisis. ebook access is temporary and does not include ownership of the ebook. Only valid for books with an ebook version. Springer Reference Works and instructor copies are not included.