freebsd-nq/test/CodeGenCXX/typeinfo
2009-11-18 14:59:57 +00:00

17 lines
350 B
Plaintext

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;
};
}