Boost logo

Boost :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2003-04-28 09:43:05

I have made several improvements:

[1] The header files can be included seperately now
[2] The examples are now linked in to the documentation
[3] The examples have more comments and the output from each is included
after the code, e.g.

   std::cout << "list< char > = "
             << boost::io::formatlist( l )
             << '\n';

   // [results]: list< char > = [ A, B, C ]

[4] Generators have been added for boost::io::pair_output,
boost::io::container_output and boost::io::array_output to remove the need
to create objects outside the declerations, e.g.

   std::cout << "map< string, string > = "
             << boost::io::formatlistfn
                   boost::io::pairfmt() // use a generator:
                   .format( '(', ')' )
                .format( '\n', '\0', '\n' )
                .space( false, false, false )
             << '\n' << '\n';

Examples of these have been added.

[5] A new manipulator - boost::io::formatob - has been added to support
non-list base types, by binding an outputter to them. This allows std::pair
and std::complex types to be formatted using my formatters (as well as any
other object, as long as it is bound to an appropriate outputter). e.g.

   std::cout << "pair< string, int > = "
             << boost::io::formatob
                   .format( '(', ')', ';' )
             << '\n' << '\n';

I still need to work on the documentation, and complete the generators so
they are fully interoperable with the rest of my library.

Also, does anyone know how to use CVS to upload these files to
boost-sandbox? I have a sourceforge account, have requested write access and
have a cvs command-line program, but am unsure how to use it (I can't gain
access to the files).


Stay in touch with absent friends - get MSN Messenger

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