Showing content from https://cplusplus.com/reference/ios/ios_base/event_callback/ below:
public member type
<ios> <iostream>
std::ios_base::event_callback
Event callback function type
Type for callback functions registered with member register_callback.
It is defined as a member type of ios_base as:
1
typedef void (*event_callback) (event ev, ios_base& obj, int index);
Therefore it is a function returning no value and having taking three arguments:
-
ev
-
An object of enum member type event. When the callback function is called, this is set to one of the three possible values to indicate what type of event triggered the function call.
-
obj
-
When the callback function is called, this is a reference to the stream object on which the even is triggered (
*this
).
-
index
-
When the callback function is called, this is set to the same value used as index argument when the function was registered with member register_callback.
See also
-
ios_base::register_callback
-
Register event callback function (public member function)
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