Swift for C++ Practitioners: Move Semantics
(douggregor.net)
Since their introduction in C++11, move semantics have been an integral part of programming in C++. Move semantics are implemented in C++ with rvalue references, which express the idea that the entity they refer to is temporary in nature (an rvalue in programming language speak) and effectively won't be used again later.
Since their introduction in C++11, move semantics have been an integral part of programming in C++. Move semantics are implemented in C++ with rvalue references, which express the idea that the entity they refer to is temporary in nature (an rvalue in programming language speak) and effectively won't be used again later.