Introduction to Advanced Template Concepts
Discover the topics we'll cover in this advanced template concepts section.
We'll cover the following
In the previous section, we learned the core fundamentals of C++ templates. At this point, we should be able to write templates that are perhaps not very complex. However, there are many more details concerning templates, and this section is dedicated to these more advanced topics.
Overview of advanced template concepts
These include the following topics that we address next:
Understanding name binding and dependent names
Exploring template recursion
Understanding template argument deduction
Learning forwarding references and perfect forwarding
Using the
decltype
specifier and thestd::declval
type operatorUnderstanding friendship in templates
Get hands-on with 1400+ tech skills courses.