你带酒来,我有故事

标签:设计模式

:: 代码生涯

C++设计模式之Prototype模式

C++设计模式之Prototype模式
首先引入《C++ Common Knowledge Essential Intermediate Programming》(中文翻译叫《C++必知必会》)中条款29 虚构造函数与Prototype模式中的一个例子: 假如你现在身处一家瑞典餐馆,并且想点菜。不幸的是,你的瑞典水平仅...

二十画生 7年前 (2017-05-30) 1021℃ 0评论 0喜欢