Binary data-structure serialization

bearophile bearophileHUGS at lycos.com
Wed Jun 2 06:12:43 PDT 2010


Lars T. Kyllingstad:
> In particular, see
> http://erdani.com/d/phobos/std_container.html#TightArray

The TightArray seems a reference-counted array of items, where items can be references of objects allocated on the heap. This doesn't solve the problem of avoiding heap allocations when you want to use objects. How can you allocate objects themselves in an arena, a stack, or a pool?

Bye,
bearophile


More information about the Digitalmars-d mailing list