Topic: type_info::name
Author: Joseph Heled <joseph@itginc.com>
Date: 1996/03/20 Raw View
Can someone comment if the standard will say more about
type_info::name(), specifically,
0. for all T, typeid(T).name() != 0
1. T1 != T2 ==> ! strcmp(typeid(T1).name, typeid(T2).name())
2. strcmp(typeid(int()).name(), "int") == 0
(etc for all builtin types)
-pepe
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]