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
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<
participants (3)
-
Joel de Guzman
-
MM
-
Ovanes Markarian