Log In
0% completed
All Lessons
Free Lessons (5)
Introduction
About Templates
Who Should Take this Course?
Basics
Function Templates
- Examples
- Exercise
- Solution
Class Templates
- Examples
- Exercise
- Solution
Template Parameters
- Examples
- Exercise
- Solution
Template Arguments
- Examples
- Exercise
- Solution
Specialization
- Examples
- Exercise
- Solution
Details
Template Instantiation
- Example
- Exercise
- Solution
Variadic Templates
- Examples
- Exercises
- Solution
Fold Expressions
- Examples
- Exercise
- Solution
Friends
- Examples
- Exercise
- Solution
Dependent Names
- Example
Techniques
Automatic Return Type
- Example
- Exercise
- Solution
Template Metaprogramming
- Examples
- Exercise
- Solution
Type-Traits Overview
Type-Traits (Correctness and Optimization)
- Examples
- Exercise
- Solution
constexpr
- Examples
- Exercise
constexpr if
- Example
Design
Static Versus Dynamic Polymorphism
- Examples
- Exercise
- Solution
CRTP
- Examples
- Exercises
- Solutions
Expression Templates
- Examples
- Exercises
- Solutions
Idioms and Patterns: Policy and Traits
- Examples
- Exercises
- Solutions
Idioms and Patterns: Tag Dispatching
- Example
- Exercise
- Solution
Idioms and Patterns: Type Erasure
- Examples
- Exercise
- Solution
Future
Overview
History
Functions and Classes
Placeholder Syntax
Predefined Concepts
Define your Concepts: Equal and Ord
Define your Concept: Regular and SemiRegular
Conclusion
Conclusion
About the Author
Generic Programming Templates in C++
/
...
/
- Example
- Example
Let's have a look at an example of tag dispatching.
We'll cover the following...
Example: Templates Tag Dispatching
Explanation
Examp
...
Access this course and
1400+
top-rated courses and projects.
Unlock Full Access
Preview Free Lessons
→
Preview Free Lessons