Assert Expressions???
Bill Baxter
dnewsgroup at billbaxter.com
Thu Jul 26 19:59:24 PDT 2007
Manfred Nowak wrote:
> Bill Baxter wrote
>
>> so if it makes sense as an expression
>> then might as well allow it to be used that way
>
> Problem: what happens to an expression which has an `assert' as
> subexpression, if -release is given to the compiler?
>
> -manfred
Same thing as if you replace "assert(blah blah blah)" with "void", which
is what it evaluates to as an expression.
--bb
More information about the Digitalmars-d-learn
mailing list