factory_method_pattern::ConcreteProductA
-
class ConcreteProductA : public factory_method_pattern::Product
Concrete implementation of the Product interface.
Represents a specific type of product (ConcreteProductA).
Public Functions
-
virtual std::string use() const override
Implements the behavior of ConcreteProductA.
Implements the behavior for ConcreteProductA.
ConcreteProductA is a specific implementation of the Product interface. This method provides its unique behavior.
- Returns:
A string describing the use of ConcreteProductA.
- Returns:
A string describing the use of ConcreteProductA.
-
virtual std::string use() const override