📜  C++库-

📅  最后修改于: 2020-12-15 04:27:59             🧑  作者: Mango


介绍

它在标头中定义,并且与运算符typeid和dynamic_cast有关。

宣言

以下是std :: type_info的声明。

class type_info;

C++ 11

class type_info;

种类

Sr.No. Type & description
1 type_info

It contains type information.

2 bad_cast

It throws an exception on failure to dynamic cast.

3 bad_typeid

It throws an exception on typeid of null point.