Boost logo

Boost :

From: Michael Marcin (mmarcin_at_[hidden])
Date: 2007-05-29 14:48:57


Marcus Lindblom wrote:
> Thomas Witt wrote:
>> There are two open tickets for pool in 1.34.1.
>>
>> http://svn.boost.org/trac/boost/ticket/284
>> http://svn.boost.org/trac/boost/ticket/991
>
> I looked at 284, but I couldn't decide which value to set next_size to
> in purge_memory() (which, I believe, is the correct way to fix this).
>
> I.e. whether to:
>
> * Just use the default value (32).
> * Add a new member variable to the class, initial_size, and use that.
>
> I think I can present a patch for either, I'm just not sure what the
> best approach is. (I was sort of hoping for the lib author to emerge
> and provide guidance.)
>

How about something like

bool purge_memory( size_type new_next_size = 32 );


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk