There are also the move semantics in C++, which are similar to Rust's ownership transfer, but explicit and with some differences in how the data is actually handled under the hood
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments