On Jan 11, 2010, at 4:09 PM, Boris Schaeling wrote:
On Thu, 07 Jan 2010 09:14:00 +0100, zhangxiaowei
wrote: [...]after checking the code of Pool, it is all based on contiguous memory. if pool cannot meet my requirement, is there any other option in BOOST?
There is no option to customize the way Boost.Pool allocates memory. This is a question which is asked more often though. There is also a patch to set a max size (see https://svn.boost.org/trac/boost/ticket/2696). As Boost.Pool wasn't changed for quite some time though I'm not sure if the maintainer is busy or the library has no maintainer?
https://svn.boost.org/trac/boost/report/15 gives a list of libraries and maintainers. It shows that Chris Newbold is now maintaining the pool library. (IIRC, he took over in the last few months). -- Marshall