Namespaces
Variants
Actions

std::ios_base::event

From cppreference.com
< cpp‎ | io‎ | ios base
 
C++
 
Input/output library
 
std::ios_base
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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant