Max Samukha wrote:
On Thu, 04 Jun 2009 10:41:31 -0500, Andrei Alexandrescu
<[email protected]> wrote:


You are mistakenly presupposing that if() takes a bool. In reality if() accepts a bool, an integral, a floating-point type, a pointer, an array, or a class reference.

or delegate

I was sure I forgot something... and hash too. Anything that can be compared against 0 or null.

Andrei

Reply via email to