Boost C++ Libraries: Ticket #4382: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS https://svn.boost.org/trac10/ticket/4382 <p> it doesn't have operator+(std::ptrdiff_t difference, const buffers_iterator&amp; iter) </p> <p> the fix is simple: </p> <blockquote> <p> friend buffers_iterator operator+(std::ptrdiff_t difference, </p> <blockquote> <p> const buffers_iterator&amp; iter) </p> </blockquote> <p> { </p> <blockquote> <p> return iter + difference; </p> </blockquote> <p> } </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4382 Trac 1.4.3 chris_kohlhoff Sun, 04 Jul 2010 13:11:17 GMT <link>https://svn.boost.org/trac10/ticket/4382#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4382#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/63592" title="Add missing operator+ overload. Refs #4382. ">[63592]</a>) Add missing operator+ overload. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4382" title="#4382: Patches: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS (closed: fixed)">#4382</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Tue, 06 Jul 2010 04:50:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4382#comment:2 https://svn.boost.org/trac10/ticket/4382#comment:2 <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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/63682" title="Merged from trunk. ........ r63568 | chris_kohlhoff | 2010-07-04 ...">[63682]</a>) Merged from trunk. </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63568" title="Fix coroutine macros to work with MSVC's edit-and-continue debug settings. ">r63568</a> | chris_kohlhoff | 2010-07-04 16:49:18 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix coroutine macros to work with MSVC's edit-and-continue debug settings. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63569" title="Reworked timeout examples. ">r63569</a> | chris_kohlhoff | 2010-07-04 16:53:57 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Reworked timeout examples. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63570" title="Ensure arguments to handlers are passed as const types. ">r63570</a> | chris_kohlhoff | 2010-07-04 16:57:32 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Ensure arguments to handlers are passed as const types. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63571" title="Fences for arm. ">r63571</a> | chris_kohlhoff | 2010-07-04 17:19:30 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fences for arm. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63572" title="Fences for arm. ">r63572</a> | chris_kohlhoff | 2010-07-04 17:20:18 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fences for arm. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63573" title="Fix forward declaration. ">r63573</a> | chris_kohlhoff | 2010-07-04 17:21:24 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix forward declaration. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63574" title="Add cancellation of reactor operations. ">r63574</a> | chris_kohlhoff | 2010-07-04 17:23:27 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Add cancellation of reactor operations. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63575" title="Fixes in non_blocking_read. ">r63575</a> | chris_kohlhoff | 2010-07-04 17:26:36 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fixes in non_blocking_read. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63576" title="Make more tolerant of different platform sdk variants. ">r63576</a> | chris_kohlhoff | 2010-07-04 17:28:20 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Make more tolerant of different platform sdk variants. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63577" title="Eliminate unnecessary uses of hash_map. ">r63577</a> | chris_kohlhoff | 2010-07-04 17:37:42 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Eliminate unnecessary uses of hash_map. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63578" title="Point docs at new timeout examples. ">r63578</a> | chris_kohlhoff | 2010-07-04 17:43:23 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Point docs at new timeout examples. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63592" title="Add missing operator+ overload. Refs #4382. ">r63592</a> | chris_kohlhoff | 2010-07-04 23:11:14 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Add missing operator+ overload. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4382" title="#4382: Patches: asio::buffers_iterator breaks _GLIBCXX_CONCEPT_CHECKS (closed: fixed)">#4382</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63594" title="Fix unused parameters. ">r63594</a> | chris_kohlhoff | 2010-07-04 23:42:41 +1000 (Sun, 04 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix unused parameters. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/63646" title="Add missing parameter. ">r63646</a> | chris_kohlhoff | 2010-07-05 17:43:22 +1000 (Mon, 05 Jul 2010) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Add missing parameter. </p> </blockquote> <p> ........ </p> Ticket