The Strategy Pattern is a behavioral design pattern from the book Design Patterns: Elements of Reusable Object-Oriented Software. It defines a family of algorithms and encapsulates them in objects. Use case - Different variations of an algorithm are needed - The algorithm should be exchangeable at the run time.

7m read timeFrom modernescpp.com
Post cover image
Table of contents
The Strategy PatternModernes C++ MentoringWhat's Next?Seminars

Sort: