Operator overloading, structs

Max Samukha outer at space.com
Thu Jun 4 11:07:00 PDT 2009


On Thu, 04 Jun 2009 10:41:31 -0500, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> 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



More information about the Digitalmars-d mailing list