bridge模式

/* 橋接模式 多維變化適合用 一維變化繼承就行了 */ class ImpShape { public: ImpShape(void) {}; virtual ~ImpShape(void) {}; public: virtual void draw()=0; }; class ImpPdf : public ImpShape { public: ImpPdf(void) {}; ~ImpPdf
相關文章
相關標籤/搜索