Boost C++ Libraries: Ticket #9213: Add move constructor and move assignment to boost::asio::io_service https://svn.boost.org/trac10/ticket/9213 <p> With the inclusion of type inference in C++11, I got the habit to use it for every variable: </p> <pre class="wiki">auto i0 = 10; auto i1 = int(10); auto i2 = foo(); // etc. </pre><p> Unfortunatly, this is not possible with boost::asio::io_service since it is noncopyable and does not provide move constructor and move assignment. </p> <pre class="wiki">// error: use of deleted function ‘boost::asio::io_service::io_service(const boost::asio::io_service&amp;)’ auto io_service = boost::asio::io_service(); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9213 Trac 1.4.3 chris_kohlhoff Mon, 05 May 2014 08:20:52 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9213#comment:1 https://svn.boost.org/trac10/ticket/9213#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> This is by design. </p> Ticket