In this chapter, we will cover the following recipes:
- Defining steps with template functions
- Assembling customized instances with builders
- Replicating instances with factories
- Processing a structure with the visitor pattern
- Using a singleton to manage instances
- Modifying an existing design pattern to fit different use cases
- Combining existing design patterns to fit different use cases