[google] Remove unqualified lookups which break clang (issue4439085)

Paolo Carlini paolo.carlini@oracle.com
Mon May 2 15:20:00 GMT 2011


On 05/02/2011 04:58 PM, Paolo Carlini wrote:
> Why nobody noticed so far? Is there a latent C++ front-end bug? Please 
> double check (the last time, I took care of filing the corresponding 
> C++ front-end issue)
-- Jason,

is it known that we accept the below?

Paolo.

//////////////////

template<typename T>
   struct base
   {
     void bar(T) { }
   };

template<typename T>
   struct derived
   : base<T>
   {
     void
     foo(T t)
     { bar(t); }
   };

template class derived<int>;



More information about the Libstdc++ mailing list