Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2003-12-09 12:07:01

"Reece Dunn" <msclrhd_at_[hidden]> wrote in message
> It also works on borland 5.5.1 :). I was thinking that it would be
> to rewrite the deduction code using Boost.MPL, but didn't know that much
> about it. Great work!

Glad to help.

> >2. My gut feeling tells me that the library can be simplified a bit. I'm
> >particularly worried about the large number of object generators. Perhaps
> >more extensive tutorial would clear up some of my doubts. With your
> >permission, I'd like to hack on the code a bit to see if I can make it a
> >little simpler, without losing functionality.
> Feel free. My reasoning as to having the three variants was thus:
> [1] The base generator should supply default formatting type (char *) and
> Outputter.
> [2] Custom formatting types are supported as a function template
> e.g.
> boost::io::formatlistex< wchar_t * >( l );
> Since you can't define a default value, this has to be a seperate
> [3] Custom outputters are supported as a specialist generator.
> boost::io::formatobout( o, ... );
> These have different names because of problems with locating the correct
> overloaded variant.
> Each of these variants is required for each outputter class to allow
> flexibility.

I have some ideas, but they're not very well developed. I'll let you know if
and when something comes of them.

Again, good work!


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