This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: non-const copy ctor
- From: Christian Fröbel <cfroebel at web dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 8 Apr 2006 02:52:19 +0200
- Subject: Re: non-const copy ctor
- References: <C05C706C.D8B6%eljay@adobe.com>
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