Boost logo

Boost :

From: vonosan (5045-2h8p_at_[hidden])
Date: 2001-12-22 05:19:20


--- In boost_at_y..., Karl Nelson <kenelson_at_e...> wrote:
> The big downside from this is the glue. How to I interpret this?
>
> cout << format("%1, %2")(hex)(a)(b) << endl;

I personally like something like this:
cout << format("{%g%1}, %2")(hex)(a)(b) << endl;
where %g in the format string is glue argument

Alexander Nasonov


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