Marius Bancila 
Template Metaprogramming with C++ [EPUB ebook] 
Learn everything about C++ templates and unlock the power of template metaprogramming

支持

Learn how the metaprogramming technique enables you to create data structures and functions that allow computation to happen at compile time. With this book, you’ll realize how templates help you avoid writing duplicate code and are key to creating generic libraries, such as the standard library or Boost, that can be used in a multitude of programs.
The introductory chapters of this book will give you insights into the fundamentals of templates and metaprogramming. You’ll then move on to practice writing complex templates and exploring advanced concepts such as template recursion, template argument deduction, forwarding references, type traits, and conditional compilation. Along the way, you’ll learn how to write variadic templates and how to provide requirements to the template arguments with C++20 constraints and concepts. Finally, you’ll apply your knowledge of C++ metaprogramming templates to implement various metaprogramming patterns and techniques.
By the end of this book, you’ll have learned how to write effective templates and implement metaprogramming in your everyday programming journey.

€33.59
支付方式
购买此电子书可免费获赠一本!
语言 英语 ● 格式 EPUB ● 网页 480 ● ISBN 9781803230535 ● 文件大小 11.0 MB ● 出版者 Packt Publishing ● 国家 US ● 发布时间 2022 ● 下载 24 个月 ● 货币 EUR ● ID 8497929 ● 复制保护

来自同一作者的更多电子书 / 编辑

74,365 此类电子书