std::ios_base:: ~ios_base
From cppreference.net
C++
Input/output library
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| 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::ios_base
| Member functions | ||||
|
ios_base::~ios_base
|
||||
| Formatting | ||||
| Locales | ||||
| Internal extensible array | ||||
| Miscellaneous | ||||
| Member classes | ||||
| Member types | ||||
|
virtual
~ios_base
(
)
;
|
||
ios_base
オブジェクトを破棄します。
メンバ関数のいずれかが未定義の結果を返す前に、 register_callback() で登録されたコールバックを呼び出し、 erase_event をパラメータとして渡します。その後、確保されたメモリを解放します。
rdbuf
に対する操作は行われず、破棄されません。
不具合報告
以下の動作変更の欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。
| DR | 適用対象 | 公開時の動作 | 正しい動作 |
|---|---|---|---|
| LWG 3434 | C++98 |
デストラクタは
iarray
および
parray
のメモリを解放する必要がなかった
|
必須 |