From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-31 10:24:22


From: "bill_kempf" <williamkempf_at_[hidden]>
> When speaking of locality, to me the important thing is to keep the
> formatting code with the object being formatted. In other words, I
> think that:
>
> cout << format("[1]") << width(10) << foo;
>
> is much preferrable to:
>
> cout << format("[1:10]") << foo;
>
> I think it's easier to read and comprehend, and it certainly will
> make the translation of the format string easier.

Unless the width needs to be "translated," too.