The Is Operator

Bill Baxter dnewsgroup at billbaxter.com
Thu Oct 4 10:51:48 PDT 2007


Anders F Björklund wrote:
> Bill Baxter wrote:
> 
>> More annoying to me is that !in doesn't work.
> 
> What's the logical negation of a pointer, anyway ?

bool negated_pointer = !some_ptr;

Seems pretty clear to me.

--bb



More information about the Digitalmars-d mailing list