RTTI(Run-Time Type Identification)

维基百科介绍:https://en.wikipedia.org/wiki/Run-time_type_information

微软社区文档的介绍:https://learn.microsoft.com/en-us/cpp/cpp/run-time-type-information?view=msvc-170

c++三种RTTI:
dynamic_cast ,typeid ,type_info ;

你可能感兴趣的:(工作记录,c++)