[LLVMbugs] [Bug 17653] Template Objective-C++ struct error: bad receiver type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 23 22:28:36 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17653
David Majnemer <david.majnemer at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |david.majnemer at gmail.com
Resolution|--- |INVALID
--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
The 'operator T*()' conversion function is marked 'explicit' which means that
it will only be called during direct-initialization (as per C++11
[class.conv.fct]p2).
Remove the 'explicit' and it will work just fine.
--
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/20131024/370e6897/attachment.html>
More information about the llvm-bugs
mailing list