[LLVMbugs] [Bug 24127] Cannot take pointer to std::string::append(const std::string&) method
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jul 14 18:15:07 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24127
Marshall Clow (home) <mclow.lists at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Marshall Clow (home) <mclow.lists at gmail.com> ---
This is a duplicate of bug #18074
We can possibly make this better, but strictly speaking, you can't take the
address of a member function in the standard library.
There may be several functions with that name - with different parameter lists.
There may be only one, with more parameters than the standard specifies.
There may be no actual function there, (as is in this case, since the function
is marked "always inline".
There's a section in the standard ([member.functions]), which basically says
"The only thing the standard library guarantees is that if you call the
function with that name with those parameters, it will do what the standard
says".
*** This bug has been marked as a duplicate of bug 18074 ***
--
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/20150715/c7945c8f/attachment.html>
More information about the llvm-bugs
mailing list