Doubts using an object pool
<p>I'm thinking in use a boost::object_pool, but the types of objects to store are all in the same hierarchy. My question is how do I need to store and use the pool to convert each object into the desired type.</p>

<p>My guest that store the ancestor as a type of the pool, then convert the returned object with a dinamyc cast to the proper type.</p>

<p>Is it an object pool the best alternative??</p>

<p>Need some orientation :)
Thanks in advance</p>

<p>EDIT: All of you are right. I was thinking in the traditional casting newObj = (newType)oldObj. Sorry.</p>
