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++/24915] [3.4/4.0/4.1/4.2 Regression] Overload errors generated without template instantiations for class member templates



------- 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


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