[Issue 21983] dup leaves a partially constructed array if postblit/copy ctor throws
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 28 15:29:14 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21983
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3483 "Fix 21983 -
Destroy partially dup'ed array if postblit/copy ctor throws" fixing this issue:
- Fix 21983 - Destroy partially dup'ed array if postblit/copy ctor throws
This ensures deterministic behaviour in case of an exception and
avoids dtor calls on uninitialized elements.
https://github.com/dlang/druntime/pull/3483
--
More information about the Digitalmars-d-bugs
mailing list