[原] RTTI 为什么type_info 有比较操作
摘要:        
The lifetime of the object returned bytypeidextends to the end of the program.根据C++标准, typeid()返回的type_info对象的生命周期那么长, 那么能不能通过直接比较指针来判断类型一致? 例如std::ma...    阅读全文
        posted @ 2015-08-28 11:09 crazii 阅读(469) 评论(0) 推荐(0)
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号