Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern C++ Templates In Depth
  • Table Of Contents Toc
Modern C++ Templates In Depth

Modern C++ Templates In Depth

By : Umar Lone
close
close
Modern C++ Templates In Depth

Modern C++ Templates In Depth

By: Umar Lone

Overview of this book

This course starts with a clear introduction to C++ templates and their key role in generic programming. Early lessons cover function templates in depth, including template argument deduction, explicit instantiations, and overloading techniques. You’ll also learn how templates compile and how static members behave, providing essential knowledge for efficient template coding. Next, the focus shifts to class templates with detailed examples and specializations to deepen your understanding. Topics include partial specializations, non-type parameters, and explicit specialization of member functions, preparing you for advanced template use cases. The course also covers important updates from C++11 through C++20, such as variadic templates, fold expressions, generic lambdas, and modern argument passing. A practical project integrates these concepts, guiding you through designing, testing, and modernizing a templated data structure. By course completion, you will confidently apply both foundational and advanced template features to write reusable, maintainable, and modern C++ code.
Table of Contents (8 chapters)
close
close
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 2
Function Templates
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern C++ Templates In Depth
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon