Inheritance and Polymorphism with C++ Full Course 🚩 Inheritance and Polymorphism Tutorial⚡️

preview_player
Показать описание
*About This Course Inheritance and Polymorphism*

In this course, we aim to enhance your code management abilities by teaching you the basics, intricacies, and optimization techniques of inheritance and polymorphism in C++. You'll learn how to effectively use runtime and compile time polymorphism to create robust structures through live coding demonstrations and hands-on exercises. Prior experience in C++ programming is recommended to maximize the benefits of this course. We'll discuss a range of advanced topics, including class hierarchies, access specifiers, covariant return types, multiple and virtual inheritance, private constructors and destructors, mixins, CRTP, and more. Additionally, we'll explore the costs and optimization methods of polymorphism and the trade-offs involved in library design. Upon completion of the course, you'll be able to implement the std::any and std::function features.

```
Show your Love & Support:
Would Help me make more content like this one :)

```

*Timestamp*
*Introduction*
0:00:00 What We Will Cover In This Video
0:02:26 Compile Time Vs. Runtime Polymorphism
0:04:20 Basics Of Inheritance
0:08:10 Basics Of Templates

*Inheritance*
0:13:37 Access Specifiers
0:18:40 Friends
0:21:53 Nested And Local Class Access
0:25:11 Virtual Functions And Abstract Base Classes
0:28:50 Virtual Destructors
0:33:29 Using Override And Final
0:38:49 Exercise 1 - Chapter 2 - Object Factory

*Inheritance Gotchas*
0:42:17 Friendship Is Not Inherited Or Transitive
0:46:12 Be Aware Of Slicing
0:50:42 Understanding Overloading Vs Overriding
0:54:33 Using The Using Declarations
0:58:28 Exercise 1 - Chapter 3 - Clean Up Inheritance
1:01:33 Exercise 2 - Chapter 3 - Fix The Error

*Inheritance - Advanced Topics*

1:04:34 Covariant Return Types
1:08:35 Multiple Inheritance
1:13:39 Virtual Inheritance
1:18:02 Private Constructors
1:22:03 Private Destructors*
1:26:51 Inheritance and Polymorphism
1:26:56 Dynamic_Cast And Static_Cast
1:32:40 Mixins And CRTP
1:35:42 Implementating Pure Virtual Functions
1:37:55 Exercise 1 - Chapter 4 - Creating A Mixin
1:43:13 Exercise 2 - Chapter 4 - Fixing Up The Inheritance

*Polymorphism Cost And Optimization*
1:48:23 Cost Of Adding Virtual Functions
1:51:40 Cost Of Virtual Function Calls
1:56:06 Cost Of Virtual Destruction
2:01:38 Avoid Template Bloat With Smart Pointers
2:06:37 Empty Base Optimization
2:10:40 Exercise 1 - Chapter 5 - Reduce Program Execution Cost
2:15:41 Exercise 2 - Chapter 5 - Reduce Program Compiled Size

*Conclusion*
2:20:46 Best Practices Summary
2:23:56 Type Erasure
2:27:34 Function As Polymorphism
2:31:45 Any And Union As Polymorphism
2:34:51 Exercise 1 - Chapter 6 - Function Object
2:37:35 Exercise 1 - Chapter 6 - Function Object Solution
2:42:52 Exercise 2 - Chapter 6 - Any Implementation
2:45:30 Inheritance and Polymorphism
2:45:35 Exercise 2 - Chapter 6 - Any Implementation Solution
2:53:26 Wrap Up And Thank You

*Source file will upload soon*

*SEO*
#InheritanceandPolymorphismwithCppFullCourse , #InheritanceandPolymorphismTutorial, #InheritanceandPolymorphism
Рекомендации по теме