std::basic_ios::~basic_ios

From cppreference.com
~basic_ios();

Destroys the basic_ios object. No operations on rdbuf are performed, it is not destroyed.

[edit] Notes

This destructor is virtual because the base class destructor, ios_base::~ios_base is virtual.