Boost logo

Boost Users :

Subject: Re: [Boost-users] storing a boost::asio::io_service in a boost.tuple
From: Igor R (boost.lists_at_[hidden])
Date: 2011-03-20 13:07:43


> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net