On Wed, May 14, 2014 at 05:00:21PM +0000, Dmitri Rubinstein wrote: > Why io_service_ is a shared_ptr ? Boost::asio does not support this. > NetworkContext should be shared IMHO, and all classes that use it should > store shared pointer to it. Then there is a guarantee that encapsulated > boost::asio::io_service will stay as long as users of NetworkContext do > exist. Is it possible to enforce this? So that you only can use this object via a boost::shared_ptr? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.fiware.org/private/miwi-middleware/attachments/20140515/c0863e68/attachment.pgp>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy