21 Jul
2010
21 Jul
'10
5:42 p.m.
Ganesh,
I think he did this:
int main(int argc, char * argv[]) {
try {
boost::shared_ptr<pool> myPool(new pool); //changed line
boost::shared_ptr<int> a = myPool->get();
}
catch (std::exception & exception) {
std::cout << exception.what() << std::endl;
}
return 0;
}
Regards,
Ovanes
On Wed, Jul 21, 2010 at 4:47 PM, Ganeshram Iyer
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
[...]