Topic: type_info: :name


Author: willer@carolian.com (Steve Willer)
Date: 1996/03/20
Raw View
Joseph Heled <joseph@itginc.com> wrote:

> 0. for all T, typeid(T).name() != 0

and also not ""?

> 1. T1 != T2  ==> ! strcmp(typeid(T1).name, typeid(T2).name())

Presumably you meant "==> strcmp(..." (i.e. without the "not")?



[ 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                             ]