Cover image for Modern C++ Templates In Depth

Modern C++ Templates In Depth

Explore Modern C++ Templates — From Fundamentals to Advanced Features

Umar Lone

Created by Umar Lone

Unlock the full potential of C++ templates by exploring both foundational concepts and advanced features introduced in recent language standards. You'll learn how to write efficient, reusable code using function and class templates, argument deduction, and modern enhancements. Practical examples and a hands-on project help you build real-world skills.

Packt | May 2025 | 361 min

Start Trial
LevelIntermediate
CategoriesSoftware Engineering and Architecture, Object-Oriented Programming (OOP) and Related Languages, C/C++

What You Will Learn

You'll start by building a solid foundation in template basics, then move on to more advanced topics like specialization and modern C++ features. Each concept is reinforced with practical coding examples. The final project brings everything together, letting you apply your new skills to design and modernize a templated data structure.

Key Features

  • Master function and class templates, including specialization and overloading
  • Apply modern C++ template features from C++11 through C++20 in your projects
  • Design and test templated data structures for reusable, maintainable code

Target Audience

Designed for intermediate to advanced C++ developers, this course is perfect if you want to deepen your understanding of templates and modern C++ features. You should be comfortable with basic C++ and object-oriented programming. If you know a little about templates already, you'll quickly build on that foundation and reach a new level of expertise.

Related courses