We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你给的设计模式文档非常的清晰,比GOF的设计模式容易阅读,又比设计模式之禅容易理解,感谢你的分享. 在学习过程中,对于创建者模型-建造者模型的这一部分代码有一个疑问:Builder接口类修改为只提供标准接口,不带任何实现,具体的实现让ConcreteBuilder去完成,如下: class Builder { public: Builder(); virtual ~Builder();
virtual void buildPartA() = 0; virtual void buildPartB() = 0; virtual void buildPartC() = 0; virtual Product * getResult() = 0;
}; 是否更好一些呢.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
你给的设计模式文档非常的清晰,比GOF的设计模式容易阅读,又比设计模式之禅容易理解,感谢你的分享.
在学习过程中,对于创建者模型-建造者模型的这一部分代码有一个疑问:Builder接口类修改为只提供标准接口,不带任何实现,具体的实现让ConcreteBuilder去完成,如下:
class Builder
{
public:
Builder();
virtual ~Builder();
};
是否更好一些呢.
The text was updated successfully, but these errors were encountered: