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

bearophile bearophileHUGS at lycos.com
Fri Jul 27 04:56:04 PDT 2012


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


More information about the Digitalmars-d-learn mailing list