PATCH for pointers-to-members + STL

Mark Mitchell mark@codesourcery.com
Tue Aug 31 22:41:00 GMT 1999


>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:

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

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

Ugh.  I'll fix this.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list