
2 Jun
2012
2 Jun
'12
11:06 p.m.
Le 03/06/12 00:10, Marc Glisse a écrit :
On Sat, 2 Jun 2012, Vicente J. Botet Escriba wrote:
Le 02/06/12 18:24, Marc Glisse a écrit :
You have a move constructor,
I've missed it. Please, could you point me where it is defined
Look for BOOST_NO_RVALUE_REFERENCES in http://svn.boost.org/svn/boost/sandbox/big_number/boost/multiprecision/mp_nu...
Thanks.
and documented?
Does it need to be? mp_number is documented as copy constructible, and the move constructor is just an optimization.
Well, I think so. It is an optimization that follows a given protocol, e.g. the use of std::move and std::forward. If no documented we can not use these functions, or can we? In addition the backend developers should be aware of this. Vicente