<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - ~unique_ptr() should not set stored pointer to null"
href="https://llvm.org/bugs/show_bug.cgi?id=24907">bug 24907</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;">CC</td>
<td>
</td>
<td>rnk@google.com
</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 - ~unique_ptr() should not set stored pointer to null"
href="https://llvm.org/bugs/show_bug.cgi?id=24907#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - ~unique_ptr() should not set stored pointer to null"
href="https://llvm.org/bugs/show_bug.cgi?id=24907">bug 24907</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=24907#c2">comment #2</a>)
<span class="quote">> In fact, *this exact code* is the subject of LWG issue 2224
> (<a href="http://cplusplus.github.io/LWG/lwg-active.html#2224">http://cplusplus.github.io/LWG/lwg-active.html#2224</a>), and while a
> resolution has not yet been adopted by the full committee, the consensus
> among the LWG is that this is undefined behavior, and the issue has a
> proposed resolution of clarifying [res.on.objects] to make this more clear.</span >
Can we speculatively close this as working as intended, pending resolution of
LWG issue 224?</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>