
on Wed Aug 12 2009, Jeffrey Hellrung <jhellrung-AT-ucla.edu> wrote:
Ion GaztaƱaga wrote:
Hi to all,
I've just uploaded to boost sandbox...
http://svn.boost.org/svn/boost/sandbox/move/)
and Boost.Vault...
...new versions of libraries Boost.Move and Boost.Container.
...
Best,
Ion
This is great! I've already gotten a ton of mileage out of what was previously in the sandbox, and it's great that move-assigning from temporaries now works (ifiuc).
One small thing: It would be nice if boost::is_movable could be used as an MPL metafunction,
Yeah, nice is an understatement. I insist :-)
i.e., that it have a nested type typedef. For example
template<class T> class is_movable { public: static const bool value = ...; typedef boost::integral_constant< value > type; };
This need had come up for me before; I can dig up some context if desired.
Probably better: template<class T> struct is_movable : mpl::bool_< ... > {}; Cheers, -- Dave Abrahams BoostPro Computing http://www.boostpro.com