This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13063] New: Pointer-to-member error using template parameter and derivated class
- From: "kafka dot fr at laposte dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2003 23:06:40 -0000
- Subject: [Bug c++/13063] New: Pointer-to-member error using template parameter and derivated class
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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