Need Assistance?

support@tutorialshub.in

Move Semantics & Multithreading

Move Semantics (std::move & &&)

ADVERTISEMENT
C++ Free Lesson
5 min read
ADVERTISEMENT

std::move(obj) transfers ownership of internal buffers (like a 10 MB vector) in O(1) pointer swap instead of copying 10 MB!

ADVERTISEMENT
Hi, I'm Tuby! Here to help you