#ifndef _TYPEINFO
#define _TYPEINFO

#include <exception>

namespace std{
    class bad_cast : public exception {
    public:
        virtual ~bad_cast(){}
        virtual const char* what() const{
            return "bad_cast";
        }
    };

    class bad_typeid : public exception {
    public:
        virtual ~bad_typeid(){}
        virtual const char* what() const{
            return "bad_typeid";
        }
    };
}

#endif
