3 ms·
I was going to say that Rust's destructive move is quite different from C++'s move semantics, but official docs disagree: "C++: references, RAII, smart pointers
by protomolecule 2y ago
I was going to say that Rust's destructive move is quite different from C++'s move semantics, but official docs disagree: "C++: references, RAII, smart pointers, move semantics, monomorphization, memory model" [0]
[0] https://doc.rust-lang.org/reference/influences.html https://doc.rust-lang.org/reference/influences.html