Boost logo

Boost Users :

Subject: Re: [Boost-users] what are movable objects
From: Abbhishek Misra (abhishekfishy2000_at_[hidden])
Date: 2010-07-06 13:01:13


Thanks Rob this helps

On Mon, Jul 5, 2010 at 8:50 PM, Robert Jones <robertgbjones_at_[hidden]> wrote:
> On Mon, Jul 5, 2010 at 3:07 PM, Abbhishek Misra
> <abhishekfishy2000_at_[hidden]> 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.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net