ios_base::event_callback

Describes a function passed to register_call.

typedef void (__cdecl *event_callback)(
   event _E,
   ios_base& _Base,
   int _I
);

Parameters

  • _E
    The event.

  • _Base
    The stream in which the event was called.

  • _I
    A user-defined number.

Remarks

The type describes a pointer to a function that can be registered with register_callback. This type of function must not throw an exception.

Example

See register_call for an example that uses event_callback.

Requirements

Header: <ios>

Namespace: std

See Also

Reference

ios_base Class

iostream Programming

iostreams Conventions

Other Resources

ios_base Members