上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 88 下一页
摘要: 意图:运用共享技术有效地支持大量细粒度的对象。class Flyweight{public: Flyweight() {} virtual ~Flyweight() {} virtual void Operation(int extrinsic_state) = 0;};class ConcreteFlyweight: public Flyweight{public: ConcreteFlyweight(const string& key) { this->key = key; } ~ConcreteFlyweight() ... 阅读全文
posted @ 2013-05-05 16:56 Leung文 阅读(112) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 88 下一页