https://issues.dlang.org/show_bug.cgi?id=13586
--- Comment #4 from Walter Bright <bugzi...@digitalmars.com> --- (In reply to monarchdodra from comment #2) > Aren't you worried that we'll take a general performance hit building the > arguments and then moving them every time we make a call? 1. first make it work, then optimize 2. it'll only happen with structs with destructors, so (hopefully) it will be less common > Hows does C++ deal with this? I imagine it's very compiler dependent - there are many ways to do it. I haven't checked. Why not give it a try? :-) --