Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2003-05-09 06:05:31

This is a patch to the library, until I can get CVS working. It adds several
new features:

[1] support for boost types in pair_output (interval, rational and
[2] static_nary_output outputter with support for quaternion and octonion -
will add tuple support in the future
[3] formatob - support for outputting non-list objects using outputters via
my library
[4] stl_io - optional header that supplies direct << operators for output
streams with STL containers
[5] I have added examples for the boost types, stl_io usage and the examples
from John Torjo's library

I am also looking at adding facilities to output just the first or second
element of a pair (first_output and second_output).

The discussions about how to display an interval are intersting - this could
be supported in my library via several outputters, so you could render
[1.23, 1.24] as:
   [1.23, 1.24] -- pair_output (already implemented)
   1.2 -- may add this later
   1.235 +/- 0.005 -- where you can change how "+/-" is rendered

I am also thinking of a transform-based outputter that takes a transform
functor and outputs the result of that transformation.

-- Reece

Hotmail messages direct to your mobile phone

Boost list run by bdawes at, gregod at, cpdaniel at, john at