
26 Mar
2012
26 Mar
'12
8:15 p.m.
El 26/03/2012 21:42, Vicente J. Botet Escriba escribió:
Hi Ion,
With the current emulation of move semantics of Boost.Thread using Boost.move, I have a case that I would like to make working in a portable way
boost::thread t = boost::thread( MoveOnly());
The library declares the template move constructor from a movable callable as as follows
template <class F> explicit thread(boost::rv<F>& f);
Why is the constructor explicit? Ion