One of the problems that C++ programmers face using templates is understanding the complex syntax. Mastering Templates can be a game-changer when programming C++, as it is a powerful feature for writing clean code.
In this book from the Notebook C++ series, the author Andreas Fertig shows you tips and tricks on how to write templates efficiently. It starts with the basics, like the different template parameter types and techniques like always_false. You’ll then learn more about best practices. For example, where to put the enable_if and how to disable a special member function.
Notebook Tips and Tricks with Templates is a quick-reference book where you can find the information the moment you need it for programming.
The author Andreas Fertig is a C++ expert who is a committee member of the International Organization for Standardization (ISO) to keep C++ sustainable. He is also the creator of C++ Insights, a free tool with which programmers find out how the compiler sees their source code.
Andreas Fertig is an expert C++ trainer and consultant who delivers engaging and impactful training sessions, both on-site and remotely, to teams around the globe.
As an active member of the C++ standardization committee, Andreas contributes directly to shaping the future of the language. He shares insights on writing cleaner, more efficient C++ code at international conferences. He publishes specialist articles, e.g., for iX magazine, and has published several C++ textbooks.
With C++ Insights (https://cppinsights.io), Andreas has created an internationally recognized tool that enables users to look behind the scenes of C++ and thus understand constructs even better.
Discover more about Andreas and his work at andreasfertig.com.