[llvm-bugs] [Bug 20616] shared_ptr does not compile with fancy pointer allocators
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 24 22:51:28 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=20616
Eric Fiselier <eric at efcs.ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #24 from Eric Fiselier <eric at efcs.ca> ---
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
}
}
--
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/20150825/76937abb/attachment-0001.html>
More information about the llvm-bugs
mailing list