https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85118
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Apr 4 16:46:00 2018 New Revision: 259094 URL: https://gcc.gnu.org/viewcvs?rev=259094&root=gcc&view=rev Log: PR c++/85118 - wrong error with generic lambda and std::bind. * call.c (add_template_conv_candidate): Disable if there are any call operators. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic17.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/call.c