assert(expression, error)

Michel Fortin michel.fortin at michelf.com
Sat Feb 12 07:25:12 PST 2011


On 2011-02-12 10:05:34 -0500, Andrej Mitrovic 
<andrej.mitrovich at gmail.com> said:

> Btw, is the inline problem just a DMD implementation problem, or does
> enforce have to be fixed for that?

DMD implementation problem. The inliner doesn't support ref, out, lazy, 
and delegate arguments at this time. Enforce uses a lazy second 
argument so it doesn't get inlined.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d-learn mailing list