is this intended behavior?

unknown unknown at brackets.com
Mon Apr 9 12:52:04 PDT 2007


Frank Malone Wrote:
>         writefln(c < a ? "true" : "false"); // outputs false

>From the documentation:
> It is an error to have one operand be signed and the other unsigned
> for a <, <=, > or >= expression. Use casts to make both operands
> signed or both operands unsigned.

Please read the documentation or post to the learn forum. thx.

unknown []



More information about the Digitalmars-d mailing list