www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - std.conv question.

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;
Jul 15 2009