> In C++, the only way I'm aware of to verify whether a value is actually moved or not is to use a debugger.
Not as simple as if there was a proper borrow checker but its sort of possible:
https://awesomekling.github.io/Catching-use-after-move-bugs-...