This is a study project inspired by the amazing video from Klaus Iglberger.
The problem: To draw Circles and Squares (Shapes).
The solutions:
- Procedural (Enum) - video;
- Object-Oriented - video;
- Visotor design pattern - video;
- Variant-Visitor - best performance - video;
- Strategy design pattern - video;
- Function - std::function - video;
- Type Erased - video.