2B. No Ducks Allowed – Templates and Deduction
Learning Objectives
By the end of this chapter, you will be able to:
- Develop your own classes to an even greater effect using inheritance and polymorphism
- Implement an alias to make your code easier to read
- Develop templates using SFINAE and constexpr to simplify your code
- Implement your own solutions using the STL to leverage generic programming
- Describe the context and basic rules for type deduction
This chapter will show you how to define and extend your types through inheritance, polymorphism, and templates.