C++ 运行时类型识别 知道实例父类类型,显示出子类类型

typeid(nets_[i]).name()
其中的
nets_[i]是一个对象

posted @ 2016-11-11 20:21  balder_m  阅读(656)  评论(0编辑  收藏  举报