C++: Function Templates with Multiple Parameters & Non-type Parameters
C++
| Expert
- 7 videos | 39m 44s
- Includes Assessment
- Earns a Badge
Template programming is very powerful and can also get quite complicated. In this course you will tackle some of those complications by using multi-value function templates. Learn how decl_type and auto keywords can be used to allow type inference on the return type of a function. Work with default arguments for template parameters and see how this can lead to mismatches if done carelessly. Finally, define and specify non-type template parameters and explore the relationship between the values of those parameters and the compiler.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseCreate function templates with multiple valuesCreate function templates which accept the return type of functionsUse decl_type and contrast it with auto
-
Assign default values to template parameters and fix type mismatchesExcept template parameters that are not of typesSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 44s
-
7m 56s
-
6m 42s
-
7m 5s
-
6m 47s
-
6m 35s
-
2m 57s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.