cpp/io/ios base/register callback

Registers a user-defined function which will be called by imbue, std and ~ios_base. Every registered callback is called every time: the event type (a value of type event) is passed as its first argument, and may be used to distinguish between the callers.

The callbacks are called in the reverse order of registration (in other words, pushes a callback pair on the callback stack). If is called from within a callback function to add a new callback, the new callback is only called on the next event.

The user-defined callback function is not allowed to throw exceptions.

Return value
(none)

Example
cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback cpp/io/ios base/register callback