Skip to content

Generic Design Patterns

Status: Pending

This section applies template techniques to real-world architecture design, covering Policy-Based Design, Type Erasure, NVI, Factory/Visitor/Singleton/Observer patterns with templates, Mixin composition, Tag Dispatching, and DSL construction.

Contents (Pending)

  1. Policy-Based Design
  2. Type Erasure
  3. Template Method Pattern and NVI
  4. Factory Pattern with Templates
  5. Visitor Pattern with Templates
  6. Thread-Safe Singleton
  7. Observer Pattern with Templates
  8. Mixin and Compositional Design
  9. Tag Dispatching and Type Dispatch
  10. Templates and DSL
  11. Project: Embedded Event System

Built with VitePress