A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.tutorialspoint.com/cpp_standard_library/cpp_ios_event.htm below:

C++ ios_base Library - event

C++ ios_base Library - event Description

The C++ function ios_base::event is used as the first parameter in functions registered with ios_base::register_callback. This argument identifies the type of event that triggered the function call.

Declaration

Following is the declaration for ios_base::event.

enum event;

Values of ios_event should be like this −

value event triggered copyfmt_event on a call to ios::copyfmt (at the moment where all format flags have been copied, but before the exception mask is) erase_event on a call to the stream destructor (also called at the beginning of ios::copyfmt). imbue_event on a call to ios_base::imbue (just before the function returns).

This member enum type is defined within ios_base as −

enum event { erase_event, imbue_event, copyfmt_event };

ios.htm


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4