Run-time type information
对于polymorphic type(参见C++\Language-reference\Basic-concept\Type-system\Type-system\Type-system.md#Polymorphic type
),目前的实现普遍化会为其提供RTTI。
wikipedia Run-time type information
cppreference
在cppreference的如下章节中,谈及了RTTI:
C++ features that depend on RTTI
-
typeid
-
dynamic_cast
- std::any (在panicsoftware DYNAMIC_CAST AND TYPEID AS (NON) RTTI TOOLS. 中提及)