Skip to content

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.

Where the book teaches it

Related terms

Inheritance