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
Publisher resources
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
book
C++ Templates: The Complete Guide, 2nd Edition
Templates are among the most powerful features of C++, but they remain misunderstood and underutilized, even …
book
Template Metaprogramming with C++
Understand how to use modern C++ templates for writing maintainable, robust, and fast software Key Features …
video
Beginning C++ Programming
In this C++ for Beginners training course, expert author John Dubchak will teach you everything you …
book
Practical C++ Metaprogramming
To say that C++ programmers embrace metaprogramming is a real stretch. Outright rejection is probably more …