GCC 4.6

Iain Buclaw ibuclaw at ubuntu.com
Sun Mar 27 08:29:21 PDT 2011


== Quote from bearophile (bearophileHUGS at lycos.com)'s article
> Iain Buclaw:
> > I think it would be better if it were targeting memory/(re)allocation-related
> > functions.
> >
> > ie:
> > {
> >   new int[4096];  // allocation has no effect, other than leaking memory.
> > }
> (The memory does not leak, the GC will deallocate it later).

Assuming you are using the stock implementation that comes bundled with Druntime,
and not some stub implementation or freestanding environment. :~)


More information about the Digitalmars-d mailing list