| Relationship | Description |
|---|---|
| Dependency | uses a |
| Generalization | is a |
| Association | has a |
| Aggregation (Association) | has a |
| Composition (Association) | has a |
std::reference_wrapper)nullptr, so have to check before usestd::unique_ptr<>, but allows multiple clients| References | |
| Pointers | |
| Smart Pointers |
Club controls the lifetime of the object being referenced, e.g., emptyPolicy and fullPolicyClub controls the lifetime of policyClub destructor is called, the std::unique_ptr<> handles the delete of the allocated memory from the objects