Boost C++ Libraries: Ticket #8426: Example in documentation doesn't compile https://svn.boost.org/trac10/ticket/8426 <p> The examples given for both overloads of basic_socket_acceptor::bind contain a line: </p> <p> acceptor.bind(boost::asio::ip::tcp::endpoint(12345)); </p> <p> But this doesn't compile here (gcc 4.7.2, boost 1.53), because endpoint has no constructor that takes a single unsigned short. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8426 Trac 1.4.3 chris_kohlhoff Fri, 24 May 2013 03:32:19 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8426#comment:1 https://svn.boost.org/trac10/ticket/8426#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">duplicate</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8421" title="#8421: Bugs: docs show wrong overload (closed: fixed)">#8421</a>. </p> Ticket