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

Eric Fiselier <e...@efcs.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #24 from Eric Fiselier <e...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to