std::basic_ios<CharT,Traits>::~basic_ios
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Input/output library
Print functions (C++23)
Buffers
(C++23)
(C++98/26*)
(C++20)
Streams
Abstractions
File I/O
String I/O
Array I/O
(C++23)
(C++23)
(C++23)
(C++98/26*)
(C++98/26*)
(C++98/26*)
Synchronized Output
(C++20)
Types
Error category interface
(C++11)
(C++11)
std::basic_ios
Member functions
basic_ios::~basic_ios
State functions
Formatting
Miscellaneous
Protected member functions
(C++11)
(C++11)
(C++11)
virtual ~basic_ios();
Destroys the basic_ios object. rdbuf is not destroyed.
[edit] Notes
This destructor is virtual because the base class destructor, ios_base::~ios_base is virtual.
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 53 | C++98 | it was unspecified whether rdbuf is destroyed
|
it is not destroyed |