Thread overview |
---|
September 20 [Issue 24773] Stable sort() invokes the destructor on uninitialized elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24773 --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @s-ludwig created dlang/phobos pull request #9049 "Bugzilla 24773 - don't invoke destructors on uninitialized elements in stable sort" mentioning this issue: - Bugzilla 24773 - don't invoke destructors on uninitialized elements in stable sort Uses a regular initialized temporary array when sorting elements with an elaborate assignment to avoid undefined behavior when destructors, postblits or copy constructors are invoked during the array assignment. https://github.com/dlang/phobos/pull/9049 -- |
September 20 [Issue 24773] Stable sort() invokes the destructor on uninitialized elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24773 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #9049 "Fix Bugzilla 24773: don't invoke destructors on uninitialized elements in stable sort" was merged into master: - cfd577b28dead189f08bdf5d2b6c94b3352d0af5 by Sönke Ludwig: Fix Bugzilla 24773: Don't invoke destructors on uninitialized elements in stable sort Uses a regular initialized temporary array when sorting elements with an elaborate assignment to avoid undefined behavior when destructors, postblits or copy constructors are invoked during the array assignment. https://github.com/dlang/phobos/pull/9049 -- |
4 days ago [Issue 24773] Stable sort() invokes the destructor on uninitialized elements | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24773 --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #9076 "[stable] Cherry-pick 2 master fixes" was merged into stable: - 9e78de4d86ec1b61cc39ed90083373bfa111ccdd by Sönke Ludwig: Fix Bugzilla 24773: Don't invoke destructors on uninitialized elements in stable sort Uses a regular initialized temporary array when sorting elements with an elaborate assignment to avoid undefined behavior when destructors, postblits or copy constructors are invoked during the array assignment. https://github.com/dlang/phobos/pull/9076 -- |
Copyright © 1999-2021 by the D Language Foundation