Beginning C++ Templates

Understand templates in depth & create generic algorithms and classes.
Free tutorial
Rating: 4.0 out of 5 (1,148 ratings)
38,618 students
1hr 16min of on-demand video
English [Auto]

Understand the syntax of function templates & classes
Understand the inner working of templates
Understand & implement generic algorithms and classes


  • Basic knowledge of C++
  • Understand basic C++ constructs such as functions and classes


Note:This is an excerpt from the course Beginning Modern C++. 

C++ templates are used for creating high performance algorithms and classes. Most of the high performance libraries, such as Active Template Library, Windows Template Library, Adaptive Communication Environment, etc, have been implemented through C++ templates.

Templates are a challenge for any novice C++ programmer. But, this course will help you understand the syntax of templates. It gently takes you through the basics and then slowly builds upon the advanced concepts such as specialization, variadic templates, etc. All the concepts are explained with examples in Visual Studio, but will work in any C++11 compiler.

Have fun learning templates!

Who this course is for:

  • C++ programmers who want to understand templates


Trainer, developer & founder at Poash Technologies
Umar Lone
  • 4.5 Instructor Rating
  • 9,904 Reviews
  • 83,179 Students
  • 8 Courses

Civil engineer who found his calling in software development. Never worked as a Civil engineer, jumped at the first chance and started worked in C++ & Visual C++ two decades ago. He used to teach these technologies on the side and enjoyed it so much, he switched completely to training delivery. Currently, trains software professionals in software companies in different technologies, such as Modern C++, Advanced C++, STL, Design Patterns, Android, Unity, Linux, etc. Very passionate about teaching and has trained more than 100,000 software professionals in a teaching career spanning more than two decades. An avid gamer, currently trying his hand with game development in Unity & Unreal. Has a few Android games & applications to his credit, including one on Design Patterns.

Only thing he likes more than C++ is Modern C++.

Top companies trust Udemy

Get your team access to Udemy's top 26,000+ courses