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
Publisher: Packt
Date: August 2022
Pages: 480
ISBN: 978-1803243450
Print: 1803243457
Kindle: B09ZHZFTKV
Audience: Developers interested in C++
Level: Intermediate
Category: C/C++

Topics covered: 

  • Understand the syntax for all types of templates
  • Discover how specialization and instantiation works
  • Get to grips with template argument deduction and forwarding references
  • Write variadic templates with ease
  • Become familiar with type traits and conditional compilation
  • Restrict template arguments in C++20 with constraints and concepts
  • Implement patterns such as CRTP, mixins, and tag dispatching

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.

 

 

Banner
 


Oracle PL/SQL By Example, 6th Ed

Author: Elena Rakhimov
Publisher: Oracle Press
Pages: 480
ISBN: 978-0138062835
Print: 0138062838
Audience: Developers interested in Oracle PL/SQL
Rating: 4
Reviewer: Kay Ewbank

This is the sixth edition of a well established title that has been updated for the latest version of PL/SQL (21c).



Visual Differential Geometry and Forms

Author:  Tristan Needham
Publisher: Princeton
Pages: 584
ISBN: 978-0691203706
Print: 0691203709
Kindle: B08TT6QBZH
Audience: Math enthusiasts
Rating: 5
Reviewer: Mike James
The best math book I have read in a long time...


More Reviews