@nogc
Joseph Rushton Wakeling via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jul 11 00:21:52 PDT 2014
On Friday, 11 July 2014 at 02:32:00 UTC, Manu via Digitalmars-d
wrote:
> I have this in my 'nothrow @nogc' function:
> assert(false, "Message " ~ details);
>
> It complains "Error: cannot use operator ~ in @nogc function"
I've habitually used 'format' to prepare assert messages with
variable content, which has a similar problem -- IIRC it
conflicts with nothrow and I guess it too would conflict with
@nogc.
More information about the Digitalmars-d
mailing list