non-const copy ctor

Christian Fröbel cfroebel@web.de
Sat Apr 8 00:53:00 GMT 2006


Hi John,

John Love-Jensen wrote:
> [...]
> Yes, that's what the auto_ptr_ref stuff does.

Yeah, unfortunately my guess was right. I really need a copy constructor 
taking a non-const reference here. So I have no choice but to have a closer 
look at that stuff.

> > Maybe that's working around this problem.
>
> It's not a problem, per se.  It's intentional, by design.

Then, what is the intention? I can't imagine where this imposes a problem.

> [...]

Thanks,
  Christian



More information about the Gcc-help mailing list