Beginning C++ Templates
- 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
- 00:02Source Code
- 07:48Introduction to Templates
- 00:11Assignment I
- 06:27Template Argument Deduction & Instantiation
- 05:54Explicit Specialization
- 07:14Non-type Template Arguments
- 00:11Assignment II
- 09:47Variadic Templates - Part I
- 04:50Variadic Templates - Part II
Civil engineer who found his calling in software development. Never worked as a Civil engineer, jumped at the first chance and started teaching C++ & Visual C++ 15 years ago. Currently, trains software professionals in various 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 20,000 software professionals in a teaching career spanning more than 17 years. An avid gamer, currently trying his hand with game development in Unity & Unreal. Has a few Android applications to his credit, including one on Design Patterns.
Only thing he likes more than C++ is Modern C++.