[Bug c++/20724] function overload resolution fails when any template is declared
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Apr 2 14:27:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-02 14:27 -------
Confirmed (fixed up testcase for -pedantic):
namespace N {
int foo ( char * ) { return 200; }
template< typename T > int foo();
}
enum Enum { enum1 };
int foo( Enum const & ) { return 100; }
int main() {
using N:: foo;
foo( enum1 );
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-02 14:27:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20724
More information about the Gcc-bugs
mailing list