Move semantics
Transferring ownership of a resource instead of copying its contents. Arrived with C++11 and is the single largest performance change the language has made.
Before 2011, returning a large vector meant in the worst case copying the entire contents, and the workarounds — passing in references to fill, returning pointers — shaped how code looked. With rvalue references a type can define a move constructor that steals the internal pointer from an object that is about to be destroyed anyway, leaving it empty but valid. The cost drops from linear in the size to a few assignments. Despite the name, std::move moves nothing; it is purely a cast announcing that the object may be plundered. Rust took the idea all the way and made moving the default, with the compiler ensuring nobody touches the original afterwards.