
5 Jul
2010
5 Jul
'10
3:20 p.m.
On Mon, Jul 5, 2010 at 3:07 PM, Abbhishek Misra wrote: Hello Boost Users, I'm trying to learn multi threading in C++. http://www.boost.org/doc/libs/1_39_0/doc/html/thread/thread_management.html says "Objects of type boost::thread are movable, however, so they can be
stored in move-aware containers, and returned from functions." Please help me understand what are movable objects. Moveable objects are objects supporting move semantics. See
http://en.wikipedia.org/wiki/C%2B%2B0x#Rvalue_reference_and_move_semantics
for a rather dry account of move semantics, or probably better see
http://cpp-next.com/archive/2009/08/want-speed-pass-by-value/
where Dave A tells us all about it.
HTH
- Rob.