[Boost-bugs] [Boost C++ Libraries] #8426: Example in documentation doesn't compile

Subject: [Boost-bugs] [Boost C++ Libraries] #8426: Example in documentation doesn't compile
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-10 16:10:35


#8426: Example in documentation doesn't compile
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 The examples given for both overloads of basic_socket_acceptor::bind
 contain a line:

 acceptor.bind(boost::asio::ip::tcp::endpoint(12345));

 But this doesn't compile here (gcc 4.7.2, boost 1.53), because endpoint
 has no constructor that takes a single unsigned short.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8426>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC