------- Comment #2 from pcarlini at suse dot de  2007-11-21 23:21 -------
I think this is the issue, nothing specific to std::auto_ptr:

struct G { G() { } G(G&) { } };

int main()
{
  class A
  {
    const G g;
  };
  A a;
  A b = a;
}


-- 


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

Reply via email to