I'd just like to interject for a moment that C++ is literal dog shit and object orientation is the greatest troll perpetuated in the history of software engineering. It can be shown quite trivially that any 'class' can be re-written as a series of functions whose organization is both more aesthetically pleasing, easier to maintain, test, and reason about than a tightly coupled object-orientated, turd pie. Polymorphism is about intentionally creating objects that scramble type purity and make it harder to debug simple programs. While inheritance obfuscates program flow and makes it harder to read code. All of this is great if you like wasting hours over-complicating problems to stay in the job. But actual productivity is about simplicity and not abstract meta-meta class::template::library->vector->classes.