------- Comment #17 from mmitchel at gcc dot gnu dot org 2006-01-18 22:25 ------- In retrospect, I wonder if we should be complaining about a using-declaration in a template in the first place.
For example, is: struct X { void f(); }; template <typename T> struct S : public T { using X::f; }; actually invalid? Both EDG and G++ complain about this (saying that X is not a base class of S<T>), but should that matter at this stage? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22136