|
Boost Users : |
Subject: Re: [Boost-users] [Proto] Forwarding evaluation via tag
From: Eric Niebler (eric_at_[hidden])
Date: 2009-09-29 13:23:13
joel wrote:
> Eric Niebler wrote:
>> Also look into proto::functional::unpack_expr,
<snip>
> OK, I like the idea. I tried to get it working but I stumple against the
> fatc that proto make_expr takes push_front() as a Sequence and don't try
> to evaulate it before hand, leading to a "no size for psuh_front" erro
> in fusion. I'll try to get this sorted though.
>
> My main question is that, when and when not a transform call get
> evaluated ? Like if i do
> foo( bar ( _) )
>
> is bar(_) evaluated before being evaluated by foo ?
> Sometimes it seems it does and sometimes no :/
You'll have to post your code ... I can't tell what problem you might be
running into.
-- 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