cout << "Where I'm at\n"; |
|
x2 = x1; line does produce "copy assignment" output?
val{std::move(a.val)} in you move constructor to ensure you actually move it.
|
|
| TheHardew wrote: |
|---|
| Also you should include <algorithm> and use val{std::move(a.val)} in you move constructor to ensure you actually move it. |