Home Books
Books
Cancel

Books

Books I wrote

C++ Concepts: Validate your templates compile-time

C++ Concepts cover

In this book, you are going to discover one of the flagship features of C++20, concepts.

You will learn about:

  • the motivations behind concepts
  • the 4 ways to use them with functions
  • the different ways to use them with classes
  • what kind of concepts are shipped with the standard library
  • how to write your own concepts from scratch
  • some real-life examples

You can get the book on LeanPub

How to use const in C++: On the virtues of constness

How to use const in C++ cover

Constness is such an important idea that in certain languages entities are const, in other words, immutable by default. If you want to become a seasoned C++ developer, you must understand how you can use const correctly. In this book, you’ll learn when and how to use it in the different contexts it might appear:

  • const functions
  • const local variables
  • const member variables
  • const return types
  • const parameters

You can get the book on LeanPub

Books I recommend

I consider reading as a primary necessity of humans, just like eating. I’d like to help you to choose the good reads easier.

Visit DevReads to access all my book reviews.