[Issue 19430] wrong code for `this =`, corrupted memory issue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 24 13:57:25 UTC 2018


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

--- Comment #2 from Илья Ярошенко <ilyayaroshenko at gmail.com> ---
The number of the constructor (including postblits) must match the number of
destructors. Assume you have a reference counted member. Then the code in the
issue will cause a corrupted memory error.

--


More information about the Digitalmars-d-bugs mailing list