On 12/22/2013 03:13 PM, Timon Gehr wrote:
Is error 1 a bug? Because there should cleary not be any copy at this point. ...I don't think the conditions when a struct is moved are actually documented beyond the NRVO case. I think it ideally would be a bug, but this would require some kind of DIP.
The main issue would probably be internal pointers in @safe code.