Boost logo

Boost :

Subject: Re: [boost] [review] Multiprecision review scheduled for June 8th - 17th, 2012
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-06-02 19:06:49


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_number.hpp
>
>
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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk