School of Computing

Using producer and consumer manipulators to extend stream i/o formatting in c++

Mike Rizzo

Technical Report 26-94*, University of Kent, Computing Laboratory, University of Kent, Canterbury, UK, November 1994.

Abstract

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]

Download publication 32 kbytes

Bibtex Record

@techreport{68,
author = {Mike Rizzo},
title = {Using Producer and Consumer Manipulators to Extend Stream I/O Formatting in C++},
month = {November},
year = {1994},
pages = {182-196},
keywords = {determinacy analysis, Craig interpolants},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/1994/68},
    address = {University of Kent, Canterbury, UK},
    hensa_abstractfilename = {pub/misc/ukc.reports/comp.sci/abstracts/26-94},
    hensa_ftpaddress = {unix.hensa.ac.uk},
    hensa_reportfilename = {pub/misc/ukc.reports/comp.sci/reports/26-94.ps.Z},
    institution = {University of Kent, Computing Laboratory},
    number = {26-94*},
}

School of Computing, University of Kent, Canterbury, Kent, CT2 7NF

Enquiries: +44 (0)1227 824180 or contact us.

Last Updated: 21/03/2014