emplace() is what you are looking for (found inexplicably in std.conv).

http://dlang.org/phobos/std_conv.html#.emplace

Exactly what i wanted :) Thanks for the quick answer!

And yeah... std.conv seems like a wierd place to have this functionallity.

Reply via email to