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