A bug in my code

Bill Baxter wbaxter at gmail.com
Sun Sep 7 14:31:52 PDT 2008


On Mon, Sep 8, 2008 at 1:59 AM, bearophile <bearophileHUGS at lycos.com> wrote:
> Jarrett Billingsley:
>
>> ..Or just, you know, arrays.  Since that's exactly what they are.
>
> Right, but I don't want to use them because dynamic arrays always set their memory to .init. The point of that data structure is to have a fast allocation too (it's not necessary to clean it if you know how many items you are using and the items don't contain a GC-managed pointer (see at the bottom of this post)).

At some point you used to be able to create variables using an "=void"
initializer to prevent the automatic initialization.  Is that no
longer the case?

--bb


More information about the Digitalmars-d-learn mailing list