Preliminary submission - std.rational and std.typelist

David Nadlinger see at klickverbot.at
Sun Oct 7 08:30:10 PDT 2012


On Sunday, 7 October 2012 at 15:36:52 UTC, Philippe Sigaud wrote:
> I see, thanks. And if the string in formattedWrite is a complex 
> beast,
> created through lots of if's and while's, I use Appender in its 
> place?

Ideally, you just write to the sink directly, piece by piece – 
but if for some reason you _need_ to have one big format string, 
then yes, prefer using Appender over string concatenation.

David


More information about the Digitalmars-d mailing list