
5 Nov
2009
5 Nov
'09
9:39 a.m.
On Thu, Nov 5, 2009 at 9:31 AM, Roman Shmelev <rshmelev@gmail.com> wrote:
I want the following type of pool in the wishlist: Allowing to allocate misc-size memory blocks without an ability to delete them (I mean they will are deleted on pool destruction). I met some situations where such pool was really what needed.
I actually did this at one time w/ the boost::pool by making my requested_size 1 byte, then doing an ordered_malloc(num_bytes). I'm not claiming that this is a good or a bad idea. But it did work. Jon