This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: non-const copy ctor


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


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