Boolean Operators Slighted in C

KW Heuer kwh at bentley.UUCP
Fri May 16 13:18:39 AEST 1986


In article <1776 at sdcsvax.UUCP> hutch at sdcsvax.UUCP writes:
>well now for ||= you can use |= ...

I think the intent was that "v ||= e" would not evaluate e if v were already
true.  (Same as "v = v || e".)



More information about the Comp.lang.c mailing list