Boost logo

Boost :

Subject: Re: [boost] [fusion] move-enabled containers?
From: Christopher Schmidt (christopher_at_[hidden])
Date: 2012-08-20 16:45:24


Mathias Gaunard <mathias.gaunard_at_[hidden]> writes:
> On 20/08/2012 19:53, Gabriel Redner wrote:
>
>> It is a simple matter to add move-awareness to fusion containers, or
>> is there some technical reason why it cannot been done? Or (perhaps
>> more likely), am I misunderstanding something about the situation?
>
> I had written a patch that made fusion::vector move-aware quite some
> time ago. It was never included because supposedly there was a big
> C++11 rewrite of fusion coming up. But it seems it's not going to be
> released any time soon.

Eventually the rewrite became a fork that does not want to be part of
either Boost or Boost.Fusion. The current codebase[1] is pretty much
source compatible, convertible and adaptable from/to
Boost.Fusion/Boost.MPL.

On topic: you can easily implement your own move-aware container and
adapt it via the extension facility.

        Christopher

[1] http://ch.ristopher.com/git/?p=slim;a=summary


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