3 ms·
Move semantics and rvalue references. It was clear that within C++11 there was a substructural type system struggling to get out.
by pcwalton 2y ago
Move semantics and rvalue references. It was clear that within C++11 there was a substructural type system struggling to get out.
- protomolecule 2y agoI 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