My Kingdom For ...
Robert Fraser
fraserofthenight at gmail.com
Thu Feb 21 16:24:11 PST 2008
Moritz Warning wrote:
> On Thu, 21 Feb 2008 09:53:00 -0700, Darryl Bleau wrote:
>
>> bearophile wrote:
>>> Another solution is to think "in" as an operator, and "!in" as two
>>> operators, where ! negates the result of the precedent "in", where "in"
>>> returns a pointer. I don't see this as silly :-)
>> I should have read this first. Yes, that's exactly what I would like.
>
> Fwiw:
> "is" may be no boolean operator, but "!" is a boolean operator.
> Hence, "!is" can be boolean operator the same way as "=" is not a boolean
> operator, but "!=" is.
Did you man "in"? "is" is a boolean operator.
More information about the Digitalmars-d
mailing list