if(arr) -> same as if(arr.ptr)
Nope. It is: if(arr) -> same as if(((cast(size_t) arr.ptr) | arr.length) != 0)Should we conclude from the fact that absolutely nobody gets it right in this very forum that nobody will get it right outside ? I'll let you judge.
