
20 Mar
2011
20 Mar
'11
5:07 p.m.
I need to store a boost::asio::io_service in a boost::tuple.
Each boost::tuple needs an individual io_service.
Given that io_service is noncopyable, and I’m working in a constructor what is the best way of doing this?
You can store reference to io_service, pointer to it, or shared_ptr.