摘要: 這是用遞歸寫的,每個人的寫法各有千秋,這是自己的寫法。
閱讀全文
摘要: 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:
閱讀全文