Boost logo

Boost :

Subject: Re: [boost] [move] "using Base::operator=;"
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2009-09-08 02:21:32

Jeffrey Hellrung escribió:
> Hey Ion, it's me again,
> I have roughly the following situation:
> [...]
> Do you (or anyone else) have any suggestions as to the best (cleanest,
> easiest to maintain, etc.) way to proceed?

Maybe you should just leave assignment operator with const D & and try
an explicit move in assigments. At least assignments will be suboptimal
(just like before) but it won't break any code.

> Also, I think this might be another "gotcha" to add to the documentation.

Yes, but a good issue to discuss in the mailing is if BOOST_COPY_ASSIGN
is really a good idea.



Boost list run by bdawes at, gregod at, cpdaniel at, john at