[Bug c++/69056] GCC failed with variadic template and pointer to member function

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 26 21:26:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69056

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-12-26
                 CC|                            |ppalka at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced test case:

template <typename T, typename... Args>
void resolver(int (*) (T, Args...));

int funcA(int, float) { return 0; }
int funcA(double) { return 0; }

int
main (void)
{
  resolver<int> (&funcA);
}


More information about the Gcc-bugs mailing list