RTTI是”Runtime Type Information”的缩写,意思是运行时类型信息,它提供了运行时确定对象类型的方法。 1. typeid函数 1 对于c++的内置数...

RTTI是”Runtime Type Information”的缩写,意思是运行时类型信息,它提供了运行时确定对象类型的方法。 1. typeid函数 1 对于c++的内置数...
DCI[https://en.wikipedia.org/wiki/Data,_context_and_interaction]是一种面向对象软件架构模式,它可以让面向对象更...