On 6/1/15 9:40 AM, "Marc =?UTF-8?B?U2Now7x0eiI=?= <[email protected]>" wrote:
The question is not what should happen when someone does a conditional _explicit_ move, but whether a move should be done _implicitly_ by the compiler given the above constellation, and how it deals with the destructor if yes.
At language level the compiler has control over generating the destructor, so it won't if it's doing a move. Note that this is STATIC analysis. -- Andrei
