The default move constructor ( Wallet(Wallet&&) = default; ) copies the value of nrOfDollars , as it is a POD. As move semantics are designed to allow 'stealing ...
確定! 回上一頁