ios_base::event type — Callback event type
enum event { erase_event, imbue_event, copyfmt_event };
The ios_base::event
type
denotes an interesting event in the lifetime of an I/O stream
object. See the register_callback
function in the ios_base
class,
earlier in this section, to learn how to register a function that is
called when one of these events occurs.