This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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


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>;


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