Functors created by boost::bind and move semantic

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.

On 1/31/2011 9:21 AM, Marat Abrarov wrote:
Hi, Boost Users and/or Developers.
Does anybody know why functional objects created by means of boost::bind have no move constructors? [...]
To my knowledge, rvalue references have not yet been widely adopted by boost libraries (and Boost.Bind is a fairly old module). (proposed) Boost.Move will ideally make the transition easier, and AFAIK the results of its review are still being processed. - Jeff
participants (2)
-
Jeffrey Lee Hellrung, Jr.
-
Marat Abrarov