C++ PATCH for c++/69842 (wrong error with generic lambda)
Jason Merrill
jason@redhat.com
Thu Feb 25 15:22:00 GMT 2016
On 02/17/2016 03:44 PM, Jason Merrill wrote:
> The problem here was that the call from the stub returned by the
> conversion function to the op() was changing an xvalue to an lvalue,
> leading to a parameter of the wrong type in the op().
...and now, handling variadic templates as well.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 69842-2.patch
Type: text/x-patch
Size: 2774 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160225/da287cf9/attachment.bin>
More information about the Gcc-patches
mailing list