PR c++/85118 - wrong error with generic lambda and std::bind.
authorJason Merrill <jason@redhat.com>
Wed, 4 Apr 2018 16:42:44 +0000 (12:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 4 Apr 2018 16:42:44 +0000 (12:42 -0400)
commitbd40bc8ea3f1eff8c2f211000dd9062f1785a5e4
tree9a7e43dc75fb6ef34094a6d4ff75ab17e6525bcd
parent7447f1d7e21fbebd7ddaf9865bf05104592f3049
PR c++/85118 - wrong error with generic lambda and std::bind.

* call.c (add_template_conv_candidate): Disable if there are any
call operators.

From-SVN: r259090
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic17.C [new file with mode: 0644]