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.

Reply via email to