Re: assigmnet operator when class data members are immutable
by Ian Collins <ian-news@[EMAIL PROTECTED]
>
Mar 30, 2008 at 01:51 PM
chuck wrote:
> Hello,
> I have a class whose data members are constant. So, default assignment
> will not happen. I am trying to write and assignment operator method
> that will allow assignment.
>
If the data member are const, you can't change them, so you can't write
an assignment operator.
--
Ian Collins.