On 12-05-2012 00:05, Mehrdad wrote:
On Friday, 11 May 2012 at 21:58:02 UTC, Jonathan M Davis wrote:Then you dobool fun() { return cast(bool)(foo in bar); }cast() scares the **** out of me
bool fun() { return !!(foo in bar); } *flees* -- - Alex
On 12-05-2012 00:05, Mehrdad wrote:
On Friday, 11 May 2012 at 21:58:02 UTC, Jonathan M Davis wrote:Then you dobool fun() { return cast(bool)(foo in bar); }cast() scares the **** out of me
bool fun() { return !!(foo in bar); } *flees* -- - Alex