<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:dtardon@redhat.com" title="David Tardon <dtardon@redhat.com>"> <span class="fn">David Tardon</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Kill BOOST_FOREACH on master and use C++11s range-based for() loops instead"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87003">bug 87003</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>dtardon@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Kill BOOST_FOREACH on master and use C++11s range-based for() loops instead"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87003#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Kill BOOST_FOREACH on master and use C++11s range-based for() loops instead"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87003">bug 87003</a>
from <span class="vcard"><a class="email" href="mailto:dtardon@redhat.com" title="David Tardon <dtardon@redhat.com>"> <span class="fn">David Tardon</span></a>
</span></b>
<pre>(In reply to Nathan Yee from <a href="show_bug.cgi?id=87003#c4">comment #4</a>)
<span class="quote">> <a href="http://opengrok.libreoffice.org/xref/core/sw/source/core/doc/CntntIdxStore">http://opengrok.libreoffice.org/xref/core/sw/source/core/doc/CntntIdxStore</a>.
> cxx#271
>
> Apparently range-based for loops cannot be used to iterate over an
> std::pair. Does anyone have any advice on how to resolve this issue?</span >
Iterate over pRedlineTbl. That is what the current BOOST_FOREACH does, i.e., it
iterates over a range defined by an std::pair of iterators.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>