
8 Sep
2009
8 Sep
'09
6:21 a.m.
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. Best, Ion