Glossary: C++ Beyond the Basics
Composition
Building a class from members for a "has a" relationship, such as an order having a customer, instead of inheriting.
Glossary: C++ Beyond the Basics
Building a class from members for a "has a" relationship, such as an order having a customer, instead of inheriting.