casting int[] to bool[]

Saaa empty at needmail.com
Thu Jan 29 12:08:49 PST 2009


But then I get stuff like this:

value += pow( x, 2); //x=double
--
testcase.d(374): function std.math.pow called with argument types:
 (double,int)
matches both:
 std.math.pow(real x, uint n)
and:
 std.math.pow(real x, int n)




More information about the Digitalmars-d-learn mailing list