[Bug c++/65869] Incorrect overload resolution in function return statement
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 24 10:07:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65869
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-04-24
Ever confirmed|0 |1
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Botond Ballo from comment #0)
> - However, p32 says that "if the type of the first
> parameter of the selected constructor is not an rvalue
> reference to the object's type", then overload
> resolution is performed again, treating the object as
> an rvalue.
Typo, this should say lvalue.
More information about the Gcc-bugs
mailing list