Andrei Khropov wrote: > BCS wrote: > >> if({foreach(i;a) if(i==j) return true; return false;}()) > > Yeah, this new delegate syntax is cool ! Wow! I didn't know you could have a naked {} like that as a void delegate. That is cool. Looks as though D has sucked all the juice out of C++, and is moving onto the scripting languages...