mirror of
https://github.com/JakubVojvoda/design-patterns-cpp.git
synced 2025-12-17 21:04:36 +03:00
update READMEs
This commit is contained in:
10
composite/README.md
Normal file
10
composite/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
## Composite
|
||||
|
||||
Compose objects into tree structures to represent part-whole hierarchies.
|
||||
Composite lets clients treat individual objects and compositions of objects uniformly.
|
||||
The pattern has structural purpose and applies to objects.
|
||||
|
||||
### When to use
|
||||
|
||||
* you want to represent part-whole hierarchies of objects
|
||||
* you want clients to be able to ignore the difference between compositions of objects and individual objects
|
||||
Reference in New Issue
Block a user