[llvm-bugs] [Bug 24907] ~unique_ptr() should not set stored pointer to null

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 8 10:16:49 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24907

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
(In reply to comment #2)
> In fact, *this exact code* is the subject of LWG issue 2224
> (http://cplusplus.github.io/LWG/lwg-active.html#2224), 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.

Can we speculatively close this as working as intended, pending resolution of
LWG issue 224?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151008/011056a4/attachment.html>


More information about the llvm-bugs mailing list