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