typeinfo *^%*&^%*&%
David Chamont
chamont@polhp3.in2p3.fr
Thu Jun 11 05:59:00 GMT 1998
Hi,
I have just compiled EGCS for HPUX 10.20,
and having some"fun" with typeinfo. The
following program is surprisingly
displaying "i" and "1A" :
====================================
#include <typeinfo>
#include <iostream.h>
class A {} ;
int main()
{
cout<<typeid(int).name()<<endl ;
cout<<typeid(A).name()<<endl ;
return 0 ;
}
====================================
Any help welcome !
Thanks.
David.
====================================
http://polhp5.in2p3.fr:8000/~chamont
====================================
More information about the Gcc-bugs
mailing list