[Issue 22673] .array of a range with length preallocates without checking if the length was lying or not.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 13 22:40:38 UTC 2022


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

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator at gmail.com> ---
The others will be in the .init state, which should mean the destructor is a
no-op on them.

--


More information about the Digitalmars-d-bugs mailing list