標準ライブラリヘッダ <typeinfo> - cppreference.com
提供: cppreference.com
このヘッダは型サポートライブラリの一部です。
クラス
概要
namespace std { class type_info; class bad_cast; class bad_typeid; }
クラス std::type_info
namespace std { class type_info { public: virtual ~type_info(); bool operator==(const type_info& rhs) const noexcept; bool before(const type_info& rhs) const noexcept; size_t hash_code() const noexcept; const char* name() const noexcept; type_info(const type_info&) = delete; // cannot be copied type_info& operator=(const type_info&) = delete; // cannot be copied }; }
クラス std::bad_cast
namespace std { class bad_cast : public exception { public: // see [exception] for the specification of the special member functions const char* what() const noexcept override; }; }
クラス std::bad_typeid
namespace std { class bad_typeid : public exception { public: // see [exception] for the specification of the special member functions const char* what() const noexcept override; }; }