运行时类型识别(run-time type identification RTTI):当只有一个指向对象基类的饮用时,RTTI机制可以让你找出这个对象的确切类型。
基于94个网页-相关网页
...on template 和class template 的设计和运用 Exception handling(异常处理)与执行期型别鉴定(Run-Time Type Identification)此外,书后的两份附录极具价值。附录A提供每章最后所列的练习题的完整解答和详细说明。
基于58个网页-相关网页
*标题 *网站 PDF/Adobe Acrobat - 第18章 运行时类型识别运行时类型识别( Run-time type identification, RTTI)是在我们只有一个指向基类的指针 或引用时确定一个对象的准确类型. 这可以被看作 C .
基于4个网页-相关网页
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.
通过运行时类型识别(RTTI),程序能够使用基类的指针或引用来检索这些指针或引用所指对象的实际派生类型。
If the sources don't use dynamic_cast or the typeid operator, Run Time type Identification (RTTI) might be disabled.
如果源代码没有使用dynamic_cast或者typeid操作符,那么就可以禁用运行时类型识别(RTTI)。
应用推荐