[Boost-bugs] [Boost C++ Libraries] #4382: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS

Subject: [Boost-bugs] [Boost C++ Libraries] #4382: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-26 10:41:38


#4382: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS
------------------------------------------------+---------------------------
 Reporter: Serge Pavlovsky <pal666@…> | Owner: chris_kohlhoff
     Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: asio
  Version: Boost 1.44.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 it doesn't have operator+(std::ptrdiff_t difference, const
 buffers_iterator& iter)

 the fix is simple:

   friend buffers_iterator operator+(std::ptrdiff_t difference,
     const buffers_iterator& iter)
   {
     return iter + difference;
   }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4382>
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:03 UTC