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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-10 
18:04:03 UTC ---
Reduced:

template <class T>
struct scoped_refptr {

  operator T*() const;
};


class EventParameters  { };

class HttpResponseHeaders;


struct NetLogHttpResponseParameter : public EventParameters {

  const HttpResponseHeaders& GetHeaders() const {
    return *headers_;
  }


  scoped_refptr<HttpResponseHeaders> headers_;

};


EDG rejects this with the same error. Clang accepts it.

Reply via email to