!in operator?

downs default_357-line at yahoo.de
Sat May 23 00:13:44 PDT 2009


Jeremie Pelletier wrote:
> Why is there no !in operator just like there is a !is operator?
> Is it because this expression evaluates to a pointer to the found element? Even so, it would make asserts much easier to write.

http://dsource.org/projects/scrapple/browser/trunk/tools/tools/base.d

tools.base.notin :)

if (foo /notin/ bar) { ... }



More information about the Digitalmars-d mailing list