Modern C++ Templates

Master Modern C++ Templates & Advanced Techniques for Efficient, Reusable & Generic Code

Course Description

Master the art of generic programming with this deep dive into Modern C++ Templates. This course takes you from the fundamentals of function and class templates to the advanced, modern features introduced in C++11 through C++20. You'll explore powerful techniques like variadic templates, perfect forwarding, fold expressions, and C++20's expanded non-type template parameters. Finally, solidify your skills by building a fully generic linked list from scratch in a practical, hands-on project.

Features

6-hrs On Demand Video

Exclusive 1-on-1 With Instructor

Course Completion Certificate

Priority Q/A

Full Lifetime Access

Community Access

Curriculum

Understand in detail on what is planned under each module

🧑‍🏫 Course Introduction

📞 Exclusive 30-Minute Session

📄 Source Code

📊 Course Material

Why Templates - I

Why Templates - II

Templates Introduction

Function Templates

Template Argument Deduction & Instantiation

Explicit Template Arguments

Default Arguments

Argument Conversions

Templates With Specifiers

Non-Type Template Parameters

Overloading Function Templates

Explicit Specialization

Overloading Revisited

Template Instantiation

Explicit Instantiation Basics

Explicit instantiation Usage - I

Explicit instantiation Usage - II

Template Compilation Model

extern Function Templates

Static Variables in Function Templates

Quiz

Progress Update

Introduction to Class Templates

Class Template Example - I

Class Template Example - II

Class Template Example - III

Class Template Argument Deduction

Class Template Instantiation

extern Class Templates

Static Members

Explicit Specialization of Member Functions

Explicit Specialization of Class Templates - I

Explicit Specialization of Class Templates - II

Explicit Specialization of Class Templates - III

Non-Type Class Template Arguments

Partial Specialization - I

Partial Specialization - II

Partial Specialization - III

Parameter Types - I

Parameter Types - II

Forwarding References

Modern C++ Changes Overview

Right Angle Bracket

Type Definitions

Type Alias & Alias Templates

extern Templates Revisited

Variadic Templates

Variadic Templates Example

sizeof... Operator

Variadic Classes

Variadic Templates Applications

C++14 - Variable Template & Generic Lambda

Compile-time if

Fold Expressions

Non-Type Template Parameters

Template Type Parameters in Lambda Expressions - I

Template Type Parameters in Lambda Expressions - II

Abbreviated auto

Project Overview

Add & Print Method Implementation

Traversal

Unit Testing

Insert Method

Erase Method

Print Customization

Modernizing

🏅 Course Certificate

Why Do This Course

Transition from theory to practice by building a complete, generic data structure from the ground up.

Harness the full power of modern template features from C++11 to C++20.

Understand advanced techniques like variadic templates, fold expressions, and perfect forwarding.

Tailor generic code with full and partial specialization for optimized types.

Transition from theory to practice by building a complete, generic data structure from the ground up.

Requirements

  • Basic knowledge of C++
  • Modern C++ compiler (Visual Studio 2022, gcc 13, clang 17)

Related Products

Additional products that may be relevant to your interests

Image23

Instructor


- Hello! I'm Umar Lone

I've educated and mentored students and professionals globally, leveraging over 20 years of experience in C++, Object-Oriented Programming, Design Patterns, and related technologies. My professional background includes significant contributions to C++, Java, and C# projects with esteemed companies, alongside providing specialized project consultation & mentoring.


My current focus is on delivering comprehensive video courses that distill this extensive knowledge. I specialize in transforming intricate concepts into clear, practical, and actionable insights, supported by real-world examples. This approach is designed to equip you with the necessary clarity and confidence for sustained growth and impactful contributions within your projects and career trajectory.


Begin your learning journey with me now and unlock the advanced understanding and practical expertise essential for making a significant impact in your field.


Keep in touch

Subscribe for announcements, new courses & discount coupons

Yes please, save my details so you can send me educational content that is relevant and helpful.