*标题 *网站 PDF/Adobe Acrobat - 第18章 运行时类型识别运行时类型识别( Run-time type identification, RTTI)是在我们只有一个指向基类的指针 或引用时确定一个对象的准确类型. 这可以被看作 C .
基于4个网页-相关网页
*标题 *网站 PDF/Adobe Acrobat - 第18章 运行时类型识别运行时类型识别( Run-time type identification, RTTI)是在我们只有一个指向基类的指针 或引用时确定一个对象的准确类型. 这可以被看作 C .
基于2个网页-相关网页
运行时类型识别 RTTI ; run-time type identification ; Run-Time Type Information ; RT
工具链二进制文件默认支持C++异常和RTTI(运行时类型识别)。
The toolchain binaries *do* support C++ exceptions and RTTI by default.
这三个特性都对代码的大小有负面的影响,而且异常事件和运行时类型识别还会增加执行时间。
All three of these negatively impact code size, and exceptions and runtime type identification also increase execution time.
通过运行时类型识别(RTTI),程序能够使用基类的指针或引用来检索这些指针或引用所指对象的实际派生类型。
Run-time Type Identification (RTTI) allows programs that use pointers or references to base classes to retrieve the actual derived types of the objects to which these pointers or references refer.
应用推荐