Why is std.string.format a c-style variadic function?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Sep 26 05:42:09 PDT 2011


On 9/26/11, Jacob Carlborg <doob at me.com> wrote:
> std.string.format is using a D-style variadic parameter list.

The compiler disagrees with you:

D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\string.d(2432): Error:
function std.string.format C-style variadic functions are not yet
implemented in CTFE

L2432:
string format(...)

I don't see any other format() overloads in std.string.


More information about the Digitalmars-d-learn mailing list