The ':-)' operator

Dave Long long at oliveb.UUCP
Sun Feb 17 13:19:38 AEST 1985


In article <zinfande.334> berry at zinfandel.UUCP (Berry Kercheval) writes:
| I would like to see the operator ':-)'.  I'm taking bets on what
| it will mean (:-)

I would use it as a unary reverse assertation, so that this:

	(a == 0) :-);   /* 'a' should not be zero here, barf if it is */

would be expanded to the equivalent of:

	assert(a != 0); /* 'a' should not be zero here, barf if it is */


					    44 61 76 65 32 4C 6F 6E 67



More information about the Comp.lang.c mailing list