Boost logo

Boost :

Subject: Re: [boost] [xint] Performance of fixed-size large integers
From: DE (satan66613_at_[hidden])
Date: 2011-03-05 15:22:19


on 05.03.2011 at 15: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.

so would it be sufficient for you (and other developers) if there were
a library which makes using cow for your class easier (if not
trivial)?
in fact i think it's not too hard to write such a library
policy based, templated, with blackjack and hoockers...

-- 
Pavel
P.S.
if you notice a grammar mistake or weird phrasing in my message
please point it out

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