Aaah, OK. Thank you so much Ovanes. For some odd reason I thought the change
would be in 'class pool'. Your sample code really helped alleviate my
misconception.
Thank you
Ganesh
On Wed, Jul 21, 2010 at 12:42 PM, Ovanes Markarian
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
wrote: 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
[...]
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Ganeshram Iyer Open Source and CAD: http://ossandcad.blogspot.com ganeshramiyer@yahoo.com