C++ Design Patterns¶
Note
This page will be updated when rendergraph2 pull request 533 will be merged.
The most important introduction is this very famous book: Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides: Design Patterns: Elements of Reusable Object-Oriented Software, ISBN 978-0201633610.
Check out Refactoring Guru to learn more about software design patterns.
Don’t use the singleton pattern as it makes thread safety and refactoring difficult.
Use the builder pattern for composition of complicated data structures.
An example of a builder pattern would be the descriptor builder.