std::ios_base::event
From cppreference.com
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 | ||||
| Formatting | ||||
| Locales | ||||
| Internal extensible array | ||||
| Miscellaneous | ||||
| Member classes | ||||
| Member types | ||||
ios_base::event | ||||
| enum event { erase_event, imbue_event, copyfmt_event }; |
|
Specifies the event type which is passed to functions registered by register_callback() on specific events. The following constants are defined:
| Enumerator | Meaning |
erase_event
|
issued on ~ios_base() or basic_ios::copyfmt() (before the copy of members takes place) |
imbue_event
|
issued on imbue() |
copyfmt_event
|
issued on basic_ios::copyfmt() (after the copy of members takes place, but before the exception settings are copied) |
[edit] Example
| This section is incomplete Reason: no example |