Boost logo

Boost :

Subject: Re: [boost] [interest] underlying type library
From: Eric Niebler (eric_at_[hidden])
Date: 2011-08-22 16:20:44


On 8/22/2011 3:50 PM, Ion Gaztañaga wrote:
> We still have to explore "destructive move" semantics. We have move
> semantics. We can even declare a traits like
> "has_trivial_destructor_after_move" to optimize a bit more vector
> reallocations once we've moved some value_types (we avoid calling
> destructors that do nothing useful once moved). Destructive move
> semantics could be a step further, we need to explore destructive
> move semantics in containers and algorithms. Some problems with
> destructive move semantics here:
>
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1377.htm

Interesting! Thanks for the reference.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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