Re: [Boost-bugs] [Boost C++ Libraries] #8464: boost::asio::read_size_helper non consistent with boost::asio::basic_streambuf::read_size_helper

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8464: boost::asio::read_size_helper non consistent with boost::asio::basic_streambuf::read_size_helper
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-24 03:19:40


#8464: boost::asio::read_size_helper non consistent with
boost::asio::basic_streambuf::read_size_helper
----------------------------------------------------+-----------------------
  Reporter: Thomas Riccardi <riccardi@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost Development Trunk | Severity: Problem
Resolution: invalid | Keywords:
----------------------------------------------------+-----------------------
Changes (by chris_kohlhoff):

  * status: new => closed
  * resolution: => invalid

Comment:

 The comment above the second version says it all:

 {{{
 // Helper function to get the preferred size for reading data. Used for
 any
 // user-provided specialisations of basic_streambuf.
 }}}

 The friend version uses knowledge of the internals to give a "better"
 result. Any user specialisations of basic_streambuf (which may or may not
 exist) may have a different implementation and so have to use a form based
 only on the public API.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8464#comment:1>
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:13 UTC