C++ PATCH for c++/59296 (rvalue object and lvalue ref-qualifier)
Jason Merrill
jason@redhat.com
Thu Jun 19 09:32:00 GMT 2014
On 06/19/2014 12:12 AM, Jason Merrill wrote:
> We were treating a const & member function like a normal const
> reference, and binding an rvalue object argument to it. But it doesn't
> work that way.
In 4.9 we also need to set LOOKUP_NO_TEMP_BIND.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 59296-2.patch
Type: text/x-patch
Size: 1183 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140619/01481468/attachment.bin>
More information about the Gcc-patches
mailing list