Open/Closed Principle 1 Decorator Design Pattern for Flexible and Dynamic Object Behavior in C++ Jan 26, 2025