This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH for pointers-to-members + STL


This breaks:

  struct A;
  template <class T> void f (void (A::* const)(T)) {}
  void (*p)(void (A::* const)(int)) = f;

because TYPE_MAIN_VARIANT no longer strips cv-quals from a PMF properly.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]