Move Constructors Revisited

from blog mcyoung, | ↗ original
↗ original
Almost a year ago I developed the moveit Rust library, which provides primitives for expressing something like C++’s T&& and move constructors while retaining Rust’s so-called “destructive move property”: moving a value transfers ownership, rather than doing a funny copy. In an earlier blogpost I described the theory behind this library and some...