std::ios_base::~ios_base(3)
π std::ios_base::~ios_base π
okay bestie, welcome to the std::ios_base::~ios_base(3) page from the C++ Standard Libary manual β yes, we're doing destructor lore today β¨π
π NAME π
std::ios_base::~ios_base β std::ios_base::~ios_base; it's the destructor, bestie π«Ά
πΈ Synopsis πΈ
virtual ~ios_base();
Destroys the ios_base object. periodt π
Before any of the member functions would yield undefined results, it calls callbacks registered by register_callback(), passing erase_event as parameter. Then, deallocates any memory obtained.
π¨ no operations onrdbufare performed here βrdbufis not destroyed. like, not even a little bit, bestie π
π©Ή Defect reports π©Ή
The following behavior-changing defect reports were applied retroactively to previously published C++ standards. iykyk, standards lore β¨
- DR:
LWG 3434- Applied to: C++98
- Behavior as published: the destructor was not required to reclaim memory for
iarrayandparray - Correct behavior: required
mwah π this page is from http://cppreference.com, dated 2024.06.10 β std::ios_base::~ios_base(3) signing off π«Άπ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms