
15 Jul
2009
15 Jul
'09
12:58 p.m.
On Wed, Jul 15, 2009 at 12:41 AM, Edouard A.<edouard@fausse.info> wrote:
On Wed, 15 Jul 2009 13:17:57 +0800, <jon_zhou@agilent.com> wrote:
is there memory management related class in boost?
i.e. memory pool, cache align allocator,etc
There is a memory pool in boost:
http://www.boost.org/doc/libs/1_39_0/libs/pool/doc/index.html
As well as smart pointers:
http://www.boost.org/doc/libs/1_39_0/libs/smart_ptr/smart_ptr.htm
And the smart pointers have nice things like overriding the destructor as a parameter so you can have it do things like return a pointer back to a memory pool.