question about pool::get_next_size/set_next_size
Hi,
is there a way to access pool::get_next_size, pool::set_next_size from my
own fast_pool_allocator without modifying the boost source (1.33.1).
This my_fast_pool_allocator is a copy of fast_pool_allocator that tries to
allocate the requested memory with next_size divided by 2 if malloc returns
NULL.
I added static member functions get_next_size/set_next_size to singleton_pool
which works, but is there a way without modifying the boost source.
If not, would it make sense to add these two methods in a future boost release.
This is the allocate method of my_fast_pool_alloctor:
template
participants (1)
-
Stefan Felkel