This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for pointers-to-members + STL
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: PATCH for pointers-to-members + STL
- From: Jason Merrill <jason at cygnus dot com>
- Date: 08 Aug 1999 15:17:51 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <19990806112947K.mitchell@codesourcery.com>
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