次の方法で共有


<typeinfo>

 

The latest version of this topic can be found at <typeinfo>.

Include the standard header <typeinfo> to define several types associated with the type-identification operator typeid Operator, which yields information about both static and dynamic types.

Syntax

#include <typeinfo>  
  

Remarks

For information on classes defined in <typeinfo>, see the following topics: