Diving Deeper into C++ Templates

Video description

Templates form the foundation of modern C++ programming; they must be understood, not only to use the Standard Library, but to take advantage of many of the features found in C++11 and C++14. By offering a detailed look at how to create and use template functions and classes in your C++ code, this course goes beyond the basics, and is intended for the intermediate level programmer.

Topics covered include: non-type and default parameters, overloading and specialization, the use of template template parameters, explicit instantiation and inheritance, generic programming, type traits, and policy-based design. Learners completing this course will have the knowledge required to produce robust, practical, and modern C++ code.

  • Understand how to create and use template functions in your C++ code
  • Learn to use modern techniques; such as type traits, and policy-based programming
  • Discover how generic programming differs from OO programming
  • Gain a fundamental awareness of the importance of templates in modern C++ code
Julian Templeman runs the London UK based consulting company Templeman Consulting. He has worked in software development for 40 years, written code in over 20 languages, and has worked with C++ for over 20 years. A professional consultant, trainer, and writer, Julian has authored multiple programming books and videos, including the O'Reilly title "Practical Scala for Java Developers".

Table of contents

  1. Introduction 00:01:59
  2. About The Author 00:00:33
  3. Non-Template Parameters 00:03:04
  4. Default Parameters 00:01:56
  5. Overloading Templates 00:04:45
  6. Specialization 00:05:50
  7. Explicit Instantiation 00:02:51
  8. Template Template Parameters 00:03:21
  9. Templates And Inheritance 00:04:15
  10. Modern C++ 00:03:09
  11. Generic Programming 00:04:34
  12. Type Traits 00:03:42
  13. Policy-Based Design 00:04:13
  14. Exercises 00:01:28
  15. Conclusion 00:01:04

Product information

  • Title: Diving Deeper into C++ Templates
  • Author(s): Julian Templeman
  • Release date: May 2017
  • Publisher(s): Infinite Skills
  • ISBN: 9781491988695