Video description
Gain new control of your code through a clear understanding of inheritance and polymorphism in C++. Expert Jason Turner teaches you the basics, the gotchas, the implementation and optimization of polymorphism and inheritance through live coded demonstrations and hands-on exercises. To get the most out of the course, learners should already have a basic understanding of C++ programming.
- Discover the differences between runtime and compile time polymorphism and how to combine them to create powerful constructs
- Understand class hierarchies in C++
- Learn to control aspects of a class using access specifiers
- Explore covariant return types, multiple and virtual inheritance, private constructors, destructors, mixins, CRTP, and other advanced topics
- Review the cost and optimization methods of polymorphism, as well as the trade-offs considered when designing libraries
- Gain the ability to implement the
std::any
andstd::function
Table of contents
- Introduction
- Inheritance
- Inheritance Gotchas
- Inheritance - Advanced Topics
- Polymorphism Cost And Optimization
-
Conclusion
- Best Practices Summary
- Type Erasure
- Function As Polymorphism
- Any And Union As Polymorphism
- Exercise 1 - Chapter 6 - Function Object
- Exercise 1 - Chapter 6 - Function Object Solution
- Exercise 2 - Chapter 6 - Any Implementation
- Exercise 2 - Chapter 6 - Any Implementation Solution
- Wrap Up And Thank You
Product information
- Title: Inheritance and Polymorphism with C++
- Author(s):
- Release date: July 2016
- Publisher(s): Infinite Skills
- ISBN: 9781491961926
You might also like
video
Beginning C++
C++ is a powerful high-level language with a wealth of recently added features that enhance its …
book
Functional Programming in C++
Functional Programming in C++ teaches developers the practical side of functional programming and the tools that …
video
Beginning C++ Programming
In this C++ for Beginners training course, expert author John Dubchak will teach you everything you …
video
Creational Design Patterns in Modern C++
The best way to solve common object-oriented design problems is by implementing design patterns. However, understanding …