$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [pool] Objects of varying sizes
From: Klaim - Joël Lamotte (mjklaim_at_[hidden])
Date: 2012-06-25 19:48:43
Hi,
don't look at the object_pool, look at pool. It provide only allocation and
destruction methods, given a size at runtime.
That way you can wrap it with a template function that give the size of the
object you want to create to the pool for it to allocate memory for you.
Joel Lamotte