Assert prints an "array of char" when used why to!string

monarch_dodra monarchdodra at gmail.com
Fri Jul 27 09:02:29 PDT 2012


On Friday, 27 July 2012 at 11:56:07 UTC, bearophile wrote:
> monarch_dodra:
>
>> 1) Is this the "normal" behavior, or a "known limitation"?
>
> It seems a DMD bug, why don't you add it to Bugzilla?
>
>
>> 2) Is there a "workaround"?
>
> static assert(0, text("Failure: ", 55));
>
> Bye,
> bearophile

Thanks. I'll create an entry in bugzilla.


More information about the Digitalmars-d-learn mailing list