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]

Re: member function template overloading bug


Hi,

I seriously doubt that this is a bug in g++.

Using the edg front-end, your code produces the
following error in strict mode:

foo.cpp(12): error #842: specializing function
"test<T>::test_function(int) [with T=char]" without
"template<>" syntax is nonstandard
  inline void test<char>::test_function(int i){}

Cheers,

Dara

P.S. Just a suggestion, but putting copyright
disclaimers, like the one you include, on (potential)
compiler bug testcases isn't very helpful. Had this
been a bug, your notice would have precluded us from
including the testcase as-is, which would have meant
more work for the person who fixed it.

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


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