Fusion Move Semantics

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. Many thanks for help, Ovanes

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, -- Joel de Guzman http://www.ciere.com http://boost-spirit.com http://www.cycfi.com/

On 29 August 2014 at 00:32, Joel de Guzman <djowel@gmail.com> 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 Regards, MM
participants (3)
-
Joel de Guzman
-
MM
-
Ovanes Markarian