Boost logo

Boost :

Subject: Re: [boost] [xint] Performance of fixed-size large integers
From: Christopher Jefferson (chris_at_[hidden])
Date: 2011-03-05 07:07:23


On 5 Mar 2011, at 12:04, Ivan Le Lann wrote:
>
> The opposite view also stands: Move will benefit to most C++
> classes/functions while only those who have designed their classes to
> use COW can afford not to use Move. Designing a COW class is more
> complex than a Move enabled one.
>
> My KISS understanding of move is that it's telling me: use functional
> programming style, so that you don't need std::move.
> Of course, this is not always possible, but I think that this limits the
> scope of your (valid) point.

You seem to be saying that COW makes things harder on the implementor, but easier on the user (as they do not have to use either std::move, or carefully designed coding methods)

Chris


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