c++ typeid 注意事项
摘要:typeid 对于不含有虚函数的类对象,无法识别 对于含有虚函数的对象能够识别 无法准确识别任何指针对象 #include "stdafx.h" #include <iostream> #include <string> using namespace std; class BaseNoVirtua
阅读全文
posted @ 2021-06-24 16:36
posted @ 2021-06-24 16:36
posted @ 2021-06-09 18:27