1#ifndef _TYPEINFO_HEADER_GAURD 2#define _TYPEINFO_HEADER_GAURD 3 4extern "C++" { 5 6namespace std { 7 class type_info; 8 class bad_cast; 9 class bad_typeid; 10}; 11 12 13class type_info { 14public: 15 type_info(); 16 virtual ~type_info(); 17 18 char const * name() const; 19 20 bool operator==(type_info const & right) const; 21 bool operator!=(type_info const & right) const; 22 bool before(type_info const & right) const; 23 24private: 25 type_info(type_info const & right); 26 type_info & operator=(type_info const & right); 27}; 28 29} // C++ 30 31#endif 32