------- Comment #18 from mmitchel at gcc dot gnu dot org  2006-01-19 21:27 
-------
I've spoken with the folks at EDG, and we all agree that we should not be
checking that, in "using S::f", "S" is a base class of the current class if
we're in a template; the set of base classes of the template is not, in
general, known at that point.  Adjusting do_class_using_decl fixes that
problem.

However, that fix will likely reopen the problem that our class-scope using
declarations are really just ARM access declarations, and, therefore, don't
work as people expect in templates.  At some point, we're really going to need
to *fix* that problem; in the meanwhile, I guess I can look for another way to
hack around that.


-- 


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

Reply via email to