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
book
Hands-On Design Patterns with C++
A comprehensive guide with extensive coverage on concepts such as OOP, functional programming, generic programming, and …
book
Functional Programming in C++
Functional Programming in C++ teaches developers the practical side of functional programming and the tools that …
book
C++ Software Design
Good software design is essential for the success of your project, but designing software is hard …
book
Discovering Modern C++, 2nd Edition
Write Powerful, Modern C++ Code for Scientific, Engineering, and Embedded Applications Discovering Modern C++, Second Edition, …