$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] functors created by boost::bind and move semantic
From: Marat Abrarov (abrarov_at_[hidden])
Date: 2011-01-15 13:52:28
Hi, Boost Users.
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.
May be someone know the reason of move constructor absence or maybe
someone know any plans of implementing it.
Abrarov Marat.