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++/17232] classes and class template specializations treated differently w.r.t. core issue #337


------- Additional Comments From bangerth at dealii dot org  2004-08-30 20:56 -------
In my view, 14.7.1/4 clearly indicates that the type should be instantiated. 
In particular, the sub-sentence on overload resolution seems imminent to me. 
 
The question whether the resulting (abstract) type will then cause us to 
reject the template function is a different matter and covered by DR 337. 
It is only in WP status, but it seems clear to me that it will eventually 
be adopted, and gcc seems to have it implemented already anyway, so it 
seems safe to take it as a basis. In that case, if my view of 14.7.1 is 
correct, then we erroneously miscompile the program, as is EDG. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17232


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