[Bug c++/13063] New: Pointer-to-member error using template parameter and derivated class

kafka dot fr at laposte dot net gcc-bugzilla@gcc.gnu.org
Sat Nov 15 23:06:00 GMT 2003


Given a class C containing a method m(),  
a class D derived from C (public), 
I can't give &D::m as parameter to a template function :  
g++ says "no matching function" 
 
Joined code that produces the compiler error.

-- 
           Summary: Pointer-to-member error using template parameter and
                    derivated class
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kafka dot fr at laposte dot net
                CC: gcc-bugs at gcc dot gnu dot org,kafka dot fr at laposte
                    dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13063



More information about the Gcc-bugs mailing list