!in operator?

Stewart Gordon smjg_1998 at yahoo.com
Sun May 24 10:18:03 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? 
<snip>

Of course not.  This compiles:

void main() {
     char* abc;
     assert (!abc);
}

so why shouldn't !in?

Stewart.



More information about the Digitalmars-d mailing list