On 2/17/2013 1:59 PM, Iain Buclaw wrote:
By the way Johannes, the issue is clear I think. You can't make temporaries with non-POD structs? This is something gdc is a bit zealous in doing this around a lot of the code generation. So addressing that would certainly fix problems around the
Whenever you make a copy of a non-POD value, you have to (for example) build an exception handling frame to destruct it if, in the meantime, an exception is thrown. This is not only expensive, but it doesn't work if the value lives in registers.