$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-06-23 11:59:22
Mathias Gaunard wrote:
> Ion Gaztañaga wrote:
>
>> The goal is that anyone experimenting with compilers with rvalue
>> references (gcc 4.3 for now) can take advantage of containers that can
>> hold movable-only types.
>
> I hardly see how any other datatype than a vector (or a hash map) can
> require movability.
> For the rest, you only need to put in-place construction in the interface.
Don't forget deque and ordered vector family (once move semantics are in
game, insertion performance is quite interesting). I don't see any
problem to implement in-place for those containers and I would be able
to provide in-place insertion ASAP. Meanwhile, users with movable
objects can speed up their implementations.
Regards,
Ion