2014-07-27星期日18:10:56重温下c++ primer,随意记录。1、基类protected成员12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152... Read More
posted @ 2014-07-27 18:34 自由度 Views(411) Comments(0) Diggs(0)
权当证明系列来自本人的QQ日志,成于2008年,满载了本人钱煮权证的经历。近日重温,依然余味三馫。故分享之!人走到最后总会想起当初。这话果不欺我,我才走远了半步,就忍不住回头观望。这个当初,不论好坏,不论多寡,给我的冲击都是颠覆的。我不害怕这样的颠覆,我只害怕没有这样的颠覆。若干年后,当我夕拾朝花的... Read More
posted @ 2014-07-27 18:31 自由度 Views(158) Comments(0) Diggs(0)
权当证明系列来自本人的QQ日志,成于2008年,满载了本人钱煮权证的经历。近日重温,依然余味三馫。故分享之!开首 没有了038,权证不得为权证,而没有了权证,038仍不失为038.股市不是战场,所以它不流血,它只流钱。038002038003 038004 038006 038008 030002 ... Read More
posted @ 2014-07-27 18:30 自由度 Views(197) Comments(0) Diggs(0)
2014-06-15星期日10:42:12Decorator,继续GOF。1、IntentAttachadditionalresponsibilitiestoanobjectdynamically.Decoratorsprovideaflexiblealternativetosubclassingforextendingfunctionality动态地给一个对象添加一些额外的职责。就增加功能来说,... Read More
posted @ 2014-06-30 21:12 自由度 Views(157) Comments(0) Diggs(0)
2014-06-15星期日9:35:04Flyweight,继续GOF。1、IntentUsesharingtosupportlargenumbersoffine-grainedobjectsefficiently.运用共享技术有效地支持大量细粒度的对象。2、AlsoKnownAs3、MotivationAflyweightisasharedobjectthatcanbeusedinmultipl... Read More
posted @ 2014-06-29 20:02 自由度 Views(161) Comments(0) Diggs(0)
2014-05-29星期四21:08:37Proxy,继续GOF。此模式未按GOF编写。c++中使用StringBuilder1、IntentProvideasurrogateorplaceholderforanotherobjecttocontrolaccesstoit.为其他对象提供一种代理以控制对这个对象的访问。2、AlsoKnownAs3、Motivation4、Applicability... Read More
posted @ 2014-05-31 21:18 自由度 Views(176) Comments(0) Diggs(0)
2014-05-29星期四21:08:37Proxy,继续GOF。此模式未按GOF编写。c++中使用StringBuilder1、IntentProvideasurrogateorplaceholderforanotherobjecttocontrolaccesstoit.为其他对象提供一种代理以控制对这个对象的访问。2、AlsoKnownAs3、Motivation4、Applicability... Read More
posted @ 2014-05-31 21:18 自由度 Views(212) Comments(0) Diggs(0)
中间因为一些琐事,停更了一段时间,现在补将起来。2014-05-17星期六 8:21:46Prototype,继续GOF。可以参考:http://www.codeproject.com/Articles/185348/Prototype-Design-Pattern1、IntentSpecifythekindsofobjectstocreateusingaprototypicalinstance,... Read More
posted @ 2014-05-31 21:17 自由度 Views(202) Comments(0) Diggs(0)
2014-05-28星期三21:41:44Composite,继续GOF。Composite组合模式1、IntentComposeobjectsintotreestructurestorepresentpart-wholehierarchies.Compositeletsclientstreatindividualobjectsandcompositionsofobjectsuniformly.将... Read More
posted @ 2014-05-31 21:17 自由度 Views(355) Comments(0) Diggs(0)
22:01:24星期一22:01:37Adapter,继续GOF。1、IntentConverttheinterfaceofaclassintoanotherinterfaceclientsexpect.Adapterletsclassesworktogetherthatcouldn'totherwisebecauseofincompatibleinterfaces.将一个类的接口转换成客户希望的... Read More
posted @ 2014-05-31 21:16 自由度 Views(288) Comments(0) Diggs(0)