[Issue 19841] Wrong ABI for C++ functions taking a struct by value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 2 17:20:49 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19841

--- Comment #5 from Atila Neves <atila.neves at gmail.com> ---
A dummy postblit wouldn't work - it wouldn't actually fix up the value.
Duplicating the functionality of the C++ copy constructor is undesireable, and
using the copy constructor with the latest release candidate of dmd 2.086.0
doesn't work either.

--


More information about the Digitalmars-d-bugs mailing list