Glossary: Data Structures and Algorithms in C++
std::move
Also written: move
Transfers ownership of a value (such as a unique_ptr) instead of copying it. push_front uses it to hand the old head to the new node.
Glossary: Data Structures and Algorithms in C++
Also written: move
Transfers ownership of a value (such as a unique_ptr) instead of copying it. push_front uses it to hand the old head to the new node.