diff options
Diffstat (limited to '5/sources/cxx-stl/system/include/typeinfo')
-rw-r--r-- | 5/sources/cxx-stl/system/include/typeinfo | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/5/sources/cxx-stl/system/include/typeinfo b/5/sources/cxx-stl/system/include/typeinfo new file mode 100644 index 0000000..4b48a79 --- /dev/null +++ b/5/sources/cxx-stl/system/include/typeinfo @@ -0,0 +1,31 @@ +#ifndef _TYPEINFO_HEADER_GAURD +#define _TYPEINFO_HEADER_GAURD + +extern "C++" { + +namespace std { + class type_info; + class bad_cast; + class bad_typeid; +}; + + +class type_info { +public: + type_info(); + virtual ~type_info(); + + char const * name() const; + + bool operator==(type_info const & right) const; + bool operator!=(type_info const & right) const; + bool before(type_info const & right) const; + +private: + type_info(type_info const & right); + type_info & operator=(type_info const & right); +}; + +} // C++ + +#endif |