Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion 1.55.0] fusion::map avoid copy construction for elements
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-03-27 12:03:04


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net