storing a boost::asio::io_service in a boost.tuple

20 Mar
2011
20 Mar
'11
2:23 p.m.
Hi: 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? Cheers Sean.

20 Mar
20 Mar
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.
5089
Age (days ago)
5089
Last active (days ago)
1 comments
2 participants
participants (2)
-
Igor R
-
Sean Farrow