Boost C++ Libraries: Ticket #8469: compiler errors with gcc in c++11 mode from bind and shared_ptr https://svn.boost.org/trac10/ticket/8469 <p> #include &lt;boost/asio.hpp&gt; #include &lt;boost/bind.hpp&gt; #include &lt;boost/enable_shared_from_this.hpp&gt; </p> <p> boost::asio::io_service io; </p> <p> class test : public boost::enable_shared_from_this&lt;test&gt; { public: </p> <blockquote> <p> void process(){} void start() { </p> <blockquote> <p> io.post(bind(&amp;test::process, shared_from_this())); </p> </blockquote> <p> } </p> </blockquote> <p> }; </p> <p> int main() { } </p> <p> <em></em>---------------end ---------------------- c++ test.cpp -lboost_system -std=c++11 </p> <p> ....io_service.ipp: In instantiation of .... io_service.ipp:126:3: error: use of deleted function 'boost::_bi::bind_t&lt;.....'....... </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8469 Trac 1.4.3 fyter Mon, 22 Apr 2013 06:47:47 GMT attachment set https://svn.boost.org/trac10/ticket/8469 https://svn.boost.org/trac10/ticket/8469 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">QQ截图20130422144925.png</span> </li> </ul> Ticket anonymous Mon, 22 Apr 2013 06:52:39 GMT <link>https://svn.boost.org/trac10/ticket/8469#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8469#comment:1</guid> <description> <p> gcc 4.8 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 22 Apr 2013 06:54:32 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/8469#comment:2 https://svn.boost.org/trac10/ticket/8469#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket anonymous Mon, 22 Apr 2013 06:55:41 GMT owner, component changed https://svn.boost.org/trac10/ticket/8469#comment:3 https://svn.boost.org/trac10/ticket/8469#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">chris_kohlhoff</span> to <span class="trac-author">Peter Dimov</span> </li> <li><strong>component</strong> <span class="trac-field-old">asio</span> → <span class="trac-field-new">bind</span> </li> </ul> Ticket Peter Dimov Mon, 22 Apr 2013 12:35:49 GMT <link>https://svn.boost.org/trac10/ticket/8469#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8469#comment:4</guid> <description> <p> Is this still a problem with Boost 1.52 or 1.53? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 23 Apr 2013 02:45:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8469#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8469#comment:5</guid> <description> <p> I am going to try now. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 23 Apr 2013 04:08:53 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8469#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8469#comment:6</guid> <description> <p> 1.53 is ok,thks! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Fri, 04 Oct 2013 20:10:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8469#comment:7 https://svn.boost.org/trac10/ticket/8469#comment:7 <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">fixed</span> </li> </ul> Ticket