This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34264] Pointer to template method of a class A, does not work in template context for that class A
- From: "Erik dot Bouts at Shell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2007 21:50:00 -0000
- Subject: [Bug c++/34264] Pointer to template method of a class A, does not work in template context for that class A
- References: <bug-34264-15451@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from Erik dot Bouts at Shell dot com 2007-11-28 21:50 -------
Subject: RE: Pointer to template method of a class A, does not work in
template context for that class A
Hi pinskia,
this works!!
thanks!!
kind regards,
Erik
-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Wednesday, November 28, 2007 6:12 PM
To: Bouts, Erik E SIEP-EPT-RIX
Subject: [Bug c++/34264] Pointer to template method of a class A, does
not work in template context for that class A
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-28 17:11
-------
Try:
pMethod p = &ClassA::templete method<Type>; // line 23, error
message
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34264