Namespaces
Variants

std::type_info::~type_info

来自 zh.cppreference.net
 
 
 
类型支持
基本类型
定宽整数类型 (C++11)
定宽浮点类型 (C++23)
(C++11)    
(C++17)
数值极限
C 数值极限接口
运行时类型信息
 
 
virtual ~type_info();

销毁 std::type_info 类型的对象。此析构函数是 public 虚函数,使得 std::type_info 成为一个多态类。

注释

可以通过 typeid 运算符来检查 std::type_info 子对象的动态类型。

对于任何 std::type_info 对象,实现是否在程序结束时调用其析构函数是未指定的。