Template Metaprogramming with C++ (Packt) |
Wednesday, 14 September 2022 | |||
This book shows how to use the metaprogramming technique to create data structures and functions that allow computation to happen at compile time. Marius Bancila shows how to use templates to avoid writing duplicate code, and how these are key to creating generic libraries, such as the standard library or Boost, that can be used in multiple programs. <ASIN: 1803243457> Bancila looks at writing complex templates and exploring advanced concepts such as template recursion, template argument deduction, forwarding references, type traits, and conditional compilation. He also covers writing variadic templates and providing requirements to the template arguments with C++20 constraints and concepts. Author: Marius Bancila Topics covered:
For recommendations of C and C++ books see Top Choice C and C++ Books in our Programmer's Bookshelf section.
For more Book Watch just click. Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed. To have new titles included in Book Watch contact BookWatch@i-programmer.info Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.
|