[Issue 12444] std.array uninitializedArray & minimallyInitializedArray missing APPENDABLE attribute / capacity info

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 21 15:43:02 UTC 2018


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |schveiguy at yahoo.com
         Resolution|---                         |DUPLICATE

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Fixed as a side-effect of issue 18995. std.array.array also had the problem
that it wasn't calling the destructors.

The solution is to make uninitializedArray use the druntime equivalent function
(which sets up all the right bits and the finalizers, including APPENDABLE).

*** This issue has been marked as a duplicate of issue 18995 ***

--


More information about the Digitalmars-d-bugs mailing list