Video description
Templates are a fundamental feature of modern C++ programming. Designed for the beginner to intermediate level C++ programmer, this course explains why templates are important and how to use them. Expert programmer, Julian Templeman, starts with a description of the concept behind templates and shows you how they solve the problem of writing functions and classes that differ only in their parameter types.
He then demonstrates how you use template functions to create functions that will work with a variety of parameter types and how to use them in code. Then, he shows you how to create and use template classes, parameterized types that are commonly used for containers such as vector and list. The course finishes off with a discussion of how the compiler processes templates and what this means in terms of how code is compiled and linked.
- Explore the importance and role of templates in C++ programming
- Understand how to create and use function and class templates
- Gain the ability to create highly efficient type-safe code
- Master the techniques required for effective C++11 and C++14 programming
Table of contents
-
Introduction
- Welcome To The Course 00:01:21
- About The Author 00:00:33
-
Introduction To C++ Templates
- What Are Templates? 00:07:38
- References 00:01:30
- Simple Function Templates 00:05:36
- How Templates Work 00:02:17
- Exercise 00:00:30
- Defining A Template Class 00:03:36
- Defining Template Class Members 00:01:37
- Using The Template Class 00:01:30
- Exercise 00:00:27
-
Conclusion
- Conclusion 00:00:51
Product information
- Title: Introduction to C++ Templates
- Author(s):
- Release date: April 2017
- Publisher(s): Infinite Skills
- ISBN: 9781491988671
You might also like
video
Further Exploration of C++ Templates and Metaprogramming
Designed for intermediate level C++ programmers, this course focuses on the advanced features and techniques made …
video
C++ Programming By Example
C++ is a flexible and generic language that offers a wide range of benefits with key …
book
C++ Reactive Programming
Learn how to implement the reactive programming paradigm with C++ and build asynchronous and concurrent applications …
video
Intermediate C++ Programming
In this Intermediate C++ Programming training course, expert author Simon Bailey takes you beyond the basics …