The following (IMHO valid) code snippet is rejected on mainline: ================================================================ struct A {};
template<int*...p> struct B1; // OK template<int*...> struct B2; // OK template<int A::*...p> struct B3; // OK template<int A::*...> struct B4; // error ================================================================ bug.cc:6: error: expected '>' before '...' token -- Summary: [4.3 regression] pointer to member rejected in variadic template Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: rejects-valid, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34752