<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 FIXED - shared_ptr does not compile with fancy pointer allocators"
href="https://llvm.org/bugs/show_bug.cgi?id=20616">bug 20616</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>REOPENED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - shared_ptr does not compile with fancy pointer allocators"
href="https://llvm.org/bugs/show_bug.cgi?id=20616#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - shared_ptr does not compile with fancy pointer allocators"
href="https://llvm.org/bugs/show_bug.cgi?id=20616">bug 20616</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>Hi Thomas, I'm closing this as resolved fixed again. I looked into the deque
failures and they were cased by OffPtr diss-allowing conversions that real
pointers accept. Please re-open if you disagree with this. Below is an example
conversion accepted by real pointers but not OffPtr.
int main() {
{
int* const* p = nullptr;
const int* const* p2 = p;
}
{
OffPtr<const OffPtr<int> > p = nullptr;
OffPtr<const OffPtr<const int> > p2 = p; // Doesn't compile
}
}</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>