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

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

Get the book on LeanPub

Get the book on Amazon

For C++ developers who give a damn

Better code. Better career. One email a week on modern C++ and what it takes to grow — written by someone still figuring it out too.

    We won't send you spam. Unsubscribe at any time.