why std.conv.to is not pure?

string foo(real v) pure { return v.to!string; }
// Error: pure function 'foo' cannot call impure function 'std.conv.to!string.to!(real).to'

Reply via email to