运行时类型识别(run-time type identification RTTI):当只有一个指向对象基类的饮用时,RTTI机制可以让你找出这个对象的确切类型。
基于86个网页-相关网页
运行时类型识别(Run-Time Type Information, RTTI) 我们禁止使用RTTI。 定义: RTTI允许程序员在运行时识别C++类对象的类型。
基于12个网页-相关网页
...格/认证考试 金融/证券 文学/艺术/军事/历史 第1 8 章 运行时类型识别 运行时类型识别(Run-time type identification, RT T I)是在我们只有一个指向基 类的指针 或引用时确定一个对象的准确类型。
基于2个网页-相关网页
工具链二进制文件默认支持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.
如果源代码没有使用dynamic_cast或者typeid操作符,那么就可以禁用运行时类型识别(RTTI)。
If the sources don't use dynamic_cast or the typeid operator, Run Time type Identification (RTTI) might be disabled.
应用推荐