Boost logo

Boost :

Subject: Re: [boost] [xint] Boost.Move vs Copy-on-Write timings
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-05-04 14:02:32


Le 04/05/2010 16:40, Chad Nelson a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/04/2010 06:08 AM, Mathias Gaunard wrote:
>
>>> _attach attaches the result to the target by adjusting the pointers
>>> where possible, and copying if necessary. Copying is usually only
>>> necessary for fixed_integer types, and only in some of the detail
>>> functions.
>>
>> Sounds like what operator= does.
>
> operator= is implemented by a call to _attach, in all three of the
> integer types.

Then what's the point of providing two names for the same function?


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