<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - vector::insert(pos, iter, iter) incorrectly requires value-assignment for forward_iterators."
href="https://bugs.llvm.org/show_bug.cgi?id=34906">bug 34906</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - vector::insert(pos, iter, iter) incorrectly requires value-assignment for forward_iterators."
href="https://bugs.llvm.org/show_bug.cgi?id=34906#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - vector::insert(pos, iter, iter) incorrectly requires value-assignment for forward_iterators."
href="https://bugs.llvm.org/show_bug.cgi?id=34906">bug 34906</a>
from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
<pre>Woops, my mistake. According to [sequence.reqmts]p4:
<span class="quote">> i and j denote iterators satisfying input iterator requirements and refer to elements implicitly convertible to value_type,</span >
So libc++ is totally OK in its current behavior. David Jones pointed this out
during review D38757 (<a href="https://reviews.llvm.org/D38757">https://reviews.llvm.org/D38757</a>)</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>