This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24915] [3.4/4.0/4.1/4.2 Regression] Overload errors generated without template instantiations for class member templates
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Dec 2005 22:39:27 -0000
- Subject: [Bug c++/24915] [3.4/4.0/4.1/4.2 Regression] Overload errors generated without template instantiations for class member templates
- References: <bug-24915-11729@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2005-12-12 22:39 -------
Shorter testcase:
================================
struct A
{
template<int> void foo() {}
template<int> int foo() {}
};
================================
This compiles correctly without the struct.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Known to fail|3.2.3 3.4.0 4.1.0 4.0.2 |3.2 3.2.3 3.4.0 4.1.0 4.0.2
Known to work|2.95.3 3.0.4 |2.95.3 3.0.4 3.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24915