eliminate new operator paraphernalia

dsimcha dsimcha at yahoo.com
Sun Feb 14 13:36:00 PST 2010


== Quote from Nick Sabalausky (a at a.a)'s article
> And as for
> the infinite lifetime guarantee: I don't think I see any risk of a
> custom-allocated object getting yanked out from under generic code unless
> you did something *really* bizarre and obviouly pointless like lauch a
> thread that randomly marks elements in an object pool as unused.

...or allocated your object using a LIFO stack allocator of some kind.



More information about the Digitalmars-d mailing list