|
Boost : |
Subject: [boost] [typeof] BOOST_AUTO and move semantic emulation
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-02-03 02:16:53
Hi,
given
T&& f();
which is the type of v in
auto v = f();
Is there any plan to adapt Boost.Typeof with move semantics, so the following works?
BOOST_TYPEOF_REGISTER_TEMPLATE(boost::detail::thread_move_t, 1)
BOOST_TYPEOF_REGISTER(T)
boost::detail::thread_move_t<T> f();
BOOST_AUTO(v, f());
Thanks,
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk