C++ “move” semantics are simple, and unchanged since C++11. But they are still widely misunderstood, sometimes because of unclear teaching and sometimes because of a desire to view move…| Sutter’s Mill
This past May, I started a new job working in Rust. I was somewhat skeptical of Rust for a while, but it turns out, it really is all it’s cracked up to be. As a long-time C++ programmer, and C++ instructor, I am convinced that Rust is better than C++ in all of C++’s application space, that for any new programming project where C++ would make sense as the programming language, Rust would make more sense.| The Coded Message
A moved-from object is left in a valid, but unspecified state. While this works, there are a couple of drawbacks to that design. So let's consider an alternative move, where a moved-from object is completely destroyed, not even its destructor will run. How could that work?| www.foonathan.net