Boost logo

Boost :

Subject: [boost] [pool] block_ptr
From: Phil Bouchard (phil_at_[hidden])
Date: 2014-07-15 22:37:38


Hi Boost... long time,

In my memory manager:
https://svn.boost.org/svn/boost/sandbox/block_ptr/boost/detail/block_base.hpp

You will see the usage of: boost::singleton_pool<pool, sizeof(char)>
because of a required is_from() function call.

But I just came to realize there is a pool::is_from() function:
http://www.boost.org/doc/libs/1_49_0/libs/pool/doc/html/boost_pool/pool/interfaces.html#boost_pool.pool.interfaces.interfaces.pool

Is that function new or in 2011 I overlooked it? If so I will make the
change ASAP as this is a nice class.

Regards,
-Phil
www.finitetheory.com


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