[Issue 18984] Debugging stack struct's which are returned causes incorrect debuginfo.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 21 18:25:05 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18984
--- Comment #6 from Manu <turkeyman at gmail.com> ---
> but I have not been able to
> get RVO from C++ to see what happens there.
I think if you build with C++14 (RVO guaranteed) and std::move the result to
return value you should be able to force it.
Copy elision is all bundled up in move semantics.
--
More information about the Digitalmars-d-bugs
mailing list