7 Sep
2011
7 Sep
'11
10:07 p.m.
2011/9/7 Ion Gaztañaga
El 07/09/2011 22:30, Daniel James escribió:
I noticed that you have a macro BOOST_COPYABLE_AND_MOVABLE_ALT which doesn't define the assignment operator, is that a way to avoid this problem? I'd be tempted to do that, implicit move assignment doesn't seem that important to me.
The problem is that containers already define the non-const assignment operator, so there is nothing you can do with this, unless, I put a compile time switch to change move emulation in Boost.Container.
Sorry I wasn't clear. I was asking if BOOST_COPYABLE_AND_MOVABLE_ALT is something I can use in my own code instead of BOOST_COPYABLE_AND_MOVABLE?