|
Boost : |
From: edbrey (edbrey_at_[hidden])
Date: 2001-12-23 09:23:13
--- In boost_at_y..., "Kei--- In boost_at_y..., "Keith Burton" <kb_at_x> wrote:
> I agree that it looks fine when used as in the example but
> I believe the operator based format wins when long lines are
> required
>
[Example snipped because email reformatting did it in.]
Could you please elaborate on what you see as a signficant
readability difference between the following two syntaxes:
cout << format("..........%1.............
.............%2..........")
% long_expressoin......................
..............1
% long_expressoin......................
..............2;
and
cout << format("..........%1............
.............%2..........")
(long_expressoin......................
..............1)
(long_expressoin......................
..............2);
I'd quite surprised if either syntax took more than just a bit
of playing around to make any given format expression quite readable.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk