Boost logo

Boost Users :

Subject: Re: [Boost-users] Fusion Move Semantics
From: MM (finjulhich_at_[hidden])
Date: 2014-12-04 08:52:05

On 29 August 2014 at 00:32, Joel de Guzman <djowel_at_[hidden]> wrote:

> On 8/2/14, 9:12 PM, Ovanes Markarian wrote:
>> Hi!
>> I would like to ask does fusion supports move semantics, or are all the
>> values going to
>> get copied. I use C++11 (clang with libstdcxx) and boost 1.54 (but can
>> upgrade).
>> In my use case I have boost::fusion::map and was wondering, that in case
>> of moving of that
>> map, is it going to forward the move call to contained values or not.
> Sorry, I missed this. Yes, current fusion::map supports move semantics.
> Regards,

with a fusion::map, pseudo code

map< <KT1, VT1>, <KT2, VT2> .... <KTn,VTn> >

in c++03, can I construct an instance of it, at runtime of course, such
that the instances VTi are not copied, but inplace?
They are not copyable



Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at