r = new Director( $builder ); $director->construct(); $product = $builder->getResult(); using namespace std;
C++.class Product{public:class ProductA: public Product{public:class ProductB:public Product{public:class Creator{public: