std.conv question.

Q Q at Q.qom
Wed Jul 15 13:26:12 PDT 2009


Does to! (uint) recognize  hexadecimal strings?
Cause if i put
int by = to!(int)("0x0FFF");
throws an exception saying;
std.conv.ConvError: Can't convert value `x0FFF' of type const(char)[] to type int
dmd 2.031;


More information about the Digitalmars-d-learn mailing list