Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto, fusion] Segfault in for_each
From: Eric Niebler (eric_at_[hidden])
Date: 2010-05-10 22:15:42


On 5/10/2010 6:53 PM, David A. Greene wrote:
> I'm using boost 1.42. As part of a proto transform, I am flattening an
> expression tree of comma operators and sending it to fusion::transform
> followed by fusion::for_each, something like this:
>
> for_each(transform(flatten(expr), func1), func2)
>
> I am getting a segmentation fault in for_each.

<snip>

> I've been wrestling with this for days. Any ideas on how to debug this?

Nope. But it'd probably help if you sent around a self-contained repro.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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