# std::type_info::~type_info

> C++ Atlas: `cppatlas.com/w/cpp/types/type_info/~type_info` | Source: https://en.cppreference.com/w/cpp/types/type_info/~type_info | Domain: Type support

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

## Official Specification Summary (cppreference)

```cpp
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.

---
Attribution: content from https://en.cppreference.com/w/cpp/types/type_info/~type_info (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.