摘要: 这是用递归写的,每个人的写法各有千秋,这是自己的写法。
阅读全文
摘要: RTTI used in the down-casting of the base type to derived type
阅读全文
So far, I have reviewed the below patterns combined with the callp software.
Abstract Factroy, Factory Method, SingleTon, Visitor(Multiple Dispatch), Builder. - 5/23 are completed.
Next step of plan: Observer, Chain of Responsibility, Facade, Memento.
摘要: Very short notes for the virtual constructor usage.
阅读全文
摘要: A little summary about understanding the Factory Pattern, by my own words.
阅读全文
摘要: When the constructor of the derived class is defined, we should consider and ensure how the base type is initialized:
阅读全文