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
Effective Modern C++
Coming to grips with C++11 and C++14 is more than a matter of familiarizing yourself with …
video
Creational Design Patterns in Modern C++
The best way to solve common object-oriented design problems is by implementing design patterns. However, understanding …
book
Modern C++ Programming with Test-Driven Development
If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development …
book
The C++ Programming Language, 4th Edition
The new C++11 standard allows programmers to express ideas more clearly, simply, and directly, and to …