Tag: std::move
3 posts
-
C++ Move Errors
Understand use-after-move, what std::move really does, move constructors, RVO, and ten common mistakes—so you can fix crashes and avoid undefined behavior.
-
Shallow vs Deep Copy and Move Semantics: How to Answer the C++ Interview Question
Answer the C++ copy vs move interview question: shallow vs deep copy, Rule of Three and Five, rvalue references, what std::move does, perfect forwarding.
-
C++ Move Semantics: Copy vs Move Explained
C++11 move semantics: rvalue references, std::move, Rule of Five, noexcept move constructors—copy vs move performance and safe usage patterns.