DMD 2.064 changelog typo?

Andrea Fontana nospam at example.com
Tue Oct 29 02:43:22 PDT 2013


I was reading 2.064 changelog on website.
Check this:

template Tuple(T...) { alias Tuple = T; }

template isIntOrFloat(T)
{
     static if (is(T == int) || is(T == float))
         enum isIntOrFloat = true;
     else
         enum isIntOrFloat = true;
}

I guess the "else" branch should be " = false" rather than " = 
true";



More information about the Digitalmars-d mailing list