Void initialization

Jacob Carlborg doob at me.com
Mon Dec 19 09:52:44 PST 2011


On 2011-12-19 18:24, Bear wrote:
> gc.malloc actually returns void[]
> Bearophile's suggestion seems to work though, but it doesn't seem to improve
> performance for some reason... I guess I'll have to find some other way to make my
> prog quicker.

You can always make the variable uninitialized using "void", don't know 
if that what is what you're looking for.

float[] f = void;

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list