phobos / tango / ares

Derek Parnell derek at psych.ward
Sat Feb 10 08:05:31 PST 2007


On Sat, 10 Feb 2007 23:43:43 +0900, Bill Baxter wrote:


> Is there any reason not to make the format item's index also optional? 
> So that
>     Formatter("{} {} {}", a, b, c);
> can be used?  I mean making it more like %s?

Seem to be a great idea. With that we have the choice between positional
and/or indexed tokens in the format string. 


-- 
Derek Parnell
Melbourne, Australia
"Justice for David Hicks!"
skype: derek.j.parnell


More information about the Digitalmars-d-learn mailing list