This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

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


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


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