conv.to for radixes

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Nov 22 19:41:35 PST 2011


Let me demonstrate why this is a problem:

string get() { return "ff"; }
void main()
{
    writeln(parse!int(get(), 16));
}

Error: get() is not an lvalue


More information about the Digitalmars-d-learn mailing list