Composite

Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.

Examples in C++
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in C++!