memory management of array

bearophile bearophileHUGS at lycos.com
Fri Dec 19 09:12:39 PST 2008


dsimcha:
> The problems with this are that it's a little bit ugly and that there's no
> standard ArrayBuilder struct.  People have written them before, and it's very easy
> to write your own just the way you like it, but a standard version in Phobos/Tango
> would be nice.

It's not easy nor fast to write a good version of it.
You can use the version from my dlibs, docs:
http://www.fantascienza.net/leonardo/so/dlibs/builders.html
Download code+docs here:
http://www.fantascienza.net/leonardo/so/libs_d.zip

Bye,
bearophile



More information about the Digitalmars-d mailing list