factory_method_pattern::ConcreteProductB

class ConcreteProductB : public factory_method_pattern::Product

Concrete implementation of the Product interface.

Represents a specific type of product (ConcreteProductB).

Public Functions

virtual std::string use() const override

Implements the behavior of ConcreteProductB.

Implements the behavior for ConcreteProductB.

ConcreteProductB is a specific implementation of the Product interface. This method provides its unique behavior.

Returns:

A string describing the use of ConcreteProductB.

Returns:

A string describing the use of ConcreteProductB.