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++/21903] Default argument of template function causes a compile-time error


------- Additional Comments From bangerth at dealii dot org  2005-06-04 04:37 -------
I'm sorry, but I have no idea what you mean by that. If you want to say 
that O::B<int> is instantiated by O::D, which is still inside O, yes, of 
course that's the case. And I'm happy if the default arguments aren't  
parsed at that time. But the actual use of O::B<int> happens long after that. 
I just haven't the slightest idea where to look this up in the standard... 
 
W. 

-- 


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


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