Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-11-07 01:41:51


Dear All,

I've just finished documenting a small library, available here:

        http://home.comcast.net/~jturkanis/format_lite/

It's a lightweight version of Reece Dunne's recently reviewed Output Formatters
library. It was inspired by the discussion of Reece's library on this list and
by the discussion of TR1 tuple i/o at the recent standards committee meeting in
Redmond.

-----

Format Lite is a lightweight, easy-to-learn framework for formatting data
structures such as standard library containers and Boost tuples. It provides a
reasonable degree of customizability with an emphasis on human-readable output
formats useful for testing and debugging.

A future version of Format Lite could be a candidate for incorporation into
C++0x, to compensate for the lack of standard iostreams inserters and extractors
for standard library containers, and to make existing inserters and extractors -
such as those provided in <complex> - more flexible.

Format lite provides three function templates:

    * boost::io::punctuate, used to specify punctuation sequences and options
for line-breaks and indentation.
    * operator<<, used to insert ranges and tuple-like objects into standard
output streams.
    * operator>>, used to extract ranges and tuple-like objects from standard
input streams.

-----

Best Regards,
Jonathan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk