REVIEW - Programming with C++20 - Concepts, Coroutines, Ranges and More


Title:

Programming with C++20

Concepts, Coroutines, Ranges and More

Author:

Andreas Fertig

Publisher:

Leanpub (2021)

Pages:

334

Reviewer:

Paul Floyd

Reviewed:

September 2025

Rating:

★★★★★


Highly recommended.

I’ll get my few niggles over first. This is the paperback colour edition (it also exists in paperback monochrome and electronic versions). It has a matte cover which already has a few greasy streaks on if from my grubby fingers. A gloss cover (that doesn’t peel off as some do) would have been better. The index is a bit skimpy. There are a few minor errors and odd layout issues. Not enough to detract from the overall quality of the book. For a self-published book, this is quite a polished piece of work. The author and the reviewers did a good job.

It’s a fairly small book so I got through it in a reasonable amount of time. That’s always a bonus for the enjoyment and understanding. Having a good ‘flow’ means that Fertig got the right balance of information and detail. What it doesn’t have in excessive length it makes up for in density. The chapter on coroutines is quite difficult, especially as it’s a feature that I’ve never used in anger. The chapter on concepts slowly builds up and is quite challenging at times (at least for this low-meta bit-twiddling reviewer).

Overall, the layout is good with plenty of cross references between code and text. I won’t list all of the ‘and more’ chapters. There’s a thorough chapter on std::format. I enjoyed the clear explanation on the ‘why’ of the spaceship operator.

At the end of the book I felt that I’d been given a clear and well explained overview of the new features in C++20.

Note: this review is for the 2021 edition. The web site https://andreasfertig.com/book says that there is now a second edition.

Website: https://leanpub.com/programming-with-cpp20

Code site: https://github.com/andreasfertig/programming-with-cpp20






Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.