
27 Mar
2014
27 Mar
'14
4:03 p.m.
AMDG On 03/27/2014 01:29 AM, Frank Bergemann wrote:
Hi, [using gcc-4.7.2 on Red Hat Linux 6.2] i have problems to avoid copy construction for fusion::map elements. See test program below. It shall pass a fusion::map as context along a call hierarchy with option to add elements (and in future maybe modify elements - if possible). Either i use #define USE_RVALUE_REF 0 and have copy-constructions (strange especially for the at_key lookup for Data in exec2()!) Or i use #define USE_RVALUE_REF 1 and get a compilation problem for code to "retrieve Data..." Can you pls. help me?
I don't think the fusion containers support rvalue reference members right now. In Christ, Steven Watanabe