Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::type_info::~type_info

Destructs an object of type std::type_info. This destructor is public virtual, making the std::type_info a polymorphic class.

NotebookLM
virtual ~type_info();

Destructs an object of type std::type_info. This destructor is public virtual, making the std::type_info a polymorphic class.

Notes

The dynamic type of a std::type_info subobject may be examined by the typeid operator.

It is unspecified whether the implementation calls this destructor for any std::type_info object at the end of the program.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.