Why is std.string.format a c-style variadic function?
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Sep 27 06:58:27 PDT 2011
On 27.09.2011 4:43, Ellery Newcomer wrote:
> On 09/26/2011 11:15 AM, Andrej Mitrovic wrote:
>> On 9/26/11, Ellery Newcomer<ellery-newcomer at utulsa.edu> wrote:
>>> std.metastrings.Format wouldn't be what you want, would it?
>>>
>>
>> Yep it is, Jonathan mentioned it above.
>
> thunderbird hates me. second time I give an answer made redundant by
> orphaned subthread.
>
FWIW I'm on thunderbird, and all is fine here.
> I'll counter by giving random unsolicited thoughts on Format:
>
> don't use it for codegen (or any long format strings, I suppose). dmd
> chokes on it very quickly.
>
> format specifiers could use positional parameters or something. Last
> summer I actually wrote a Replace template to scratch that itch. dmd
> choked on it pretty quickly too.
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list