This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49458] [C++0x] Obvious candidate for conversion to function lvalue rejected
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2011 20:45:10 +0000
- Subject: [Bug c++/49458] [C++0x] Obvious candidate for conversion to function lvalue rejected
- Auto-submitted: auto-generated
- References: <bug-49458-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49458
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2011.06.17 20:44:28
CC| |jason at gcc dot gnu.org
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
Ever Confirmed|0 |1
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-17 20:44:28 UTC ---
I agree that #2 should be a candidate, since it returns a function lvalue, and
frvref can bind to a function lvalue. That is a bug.
I also agree with your interpretation of the standard on the other points, but
that seems unintentional, so I'm going to raise the issue with the committee.