Ryan,
Is there any chance you can post
what you added to your provided example to fix the problem you were
having? I would love to see what that example looks like when it is
working.
Thanks in advance
Ganesh
Sorry for the delay in answering your question. I missed it in my
inbox. Anyway I've included what I changed in the code. I didn't see
any point in giving the user a choice in how pool was created when one
of the option gives an error. So, I added a static methods that
creates a pool in a shared_ptr and hid the constructor. This forced
the user to get the pool inside a shared_ptr and removed the
possibility of an error when calling the get method.