Boost logo

Boost Users :

Subject: Re: [Boost-users] [Proto] Evaluating non-trivial expression
From: Eric Niebler (eric_at_[hidden])
Date: 2008-09-30 16:59:56


Joel Falcou wrote:
> Let's say I have grammar etc.. for writing algebra code like :
> a = b+c, u = x + y, z = 3*e;
> and have each sub expression containing a = call to be evaluated on a
> different processor.
>
> Where can I put the evaluation call using the context ? In the
> destructor of my associated expression ?

Interesting. You might try disabling Proto's comma operator and writing
your own that fires off expression evaluations.

-- 
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