Does frameworks allow move semantics unconditionally?

Alex Merry alex.merry at kde.org
Fri Jul 31 17:31:50 UTC 2015


On Friday 31 July 2015 19:15:55 Mark Gaiser wrote:
> Hi Alex,
> 
> What i mean with "move semantics" are mainly the following features:
> - std::move
> - move copy constructor
> - move assignment operator
> 
> I know std::move is in vs2010, i'm just not so sure about the move copy and
> assignment operator. Same for clang. I can't really find where clang
> started to support these things.

They will work (mostly - as I noted, there are some cases involving 
temporaries and implicit constructors where the move constructor won't be 
selected), but you have to write them yourself.

Not sure about clang, though.

Alex


More information about the Kde-frameworks-devel mailing list