Using Producer and Consumer Manipulators to Extend Stream I/O Formatting in C++.
University of Kent, Computing Laboratory, University of Kent, Canterbury, UK
(Full text available)
The C++ iostream package makes use of the notion of stream manipulators, principally as a means of manipulating formatting state associated with a stream. This paper illustrates how parameterized manipulators which produce output and consume input can be defined to extend stream I/O formatting. Such manipulators can be especially useful for simple parsing of stream input. [Appeared in ACM SIGPLAN Notices 29(3), March 1994]
- Depositors only (login required):
Downloads per month over past year