1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
namespace std { class type_info { public: virtual ~type_info(); const char* name() const { return __name; } bool operator==(const type_info& __arg) const { return __name == __arg.__name; } bool operator!=(const type_info& __arg) const { return !operator==(__arg); } protected: const char *__name; }; }