Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

16.1 Defining Callback Functions

The Standard C++ Library iostreams facility uses callback functions to allow a program to respond to certain events. A program registers a callback by providing an ordinary function with an appropriate signature and calling ios_base::register_callback with a pointer to the function and an index into the streams parray. The callback function is then called any time one of the following occurs:


Previous fileTop of DocumentContentsIndexNext file

OEM Edition, ©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.