[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost
Subject:    [boost] Functors created by boost::bind and move semantic
From:       "Marat Abrarov" <abrarov () mail ! ru>
Date:       2011-01-31 17:21:34
Message-ID: 000a01cbc16b$5086e3f0$f194abd0$ () mail ! ru
[Download RAW message or body]

Hi, Boost Users and/or Developers.

Does anybody know why functional objects created by means of boost::bind
have no move constructors? 
It would be rather useful especially when such functional objects consist 
of some smart pointers (like boost::shared_ptr). 

For example, move constructor of boost::shared_ptr is 
very light (comparing to its copy constructor) - 
it doesn't use any CAS at all 
(which is the main overhead of boost::shared_ptr).

May be someone know the reason of move constructor absence or 
maybe someone know any plans of implementing it.

Regards,
Abrarov Marat.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic