std::ios_base::event_callback
From cppreference.com
                    
                                        
                    
                    
                                                            
                    |   typedef void (*event_callback)(event type, ios_base& ios, int index);  | 
||
The type of function callbacks that can be registered using register_callback() to be called on specific events.
type refers to the type of the event, ios refers to *this, index is a specific value passed to register_callback() when registering the function.