Boost logo

Boost Users :

Subject: Re: [Boost-users] [Bind?] Returning generators instead of evaluating.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2011-10-21 06:16:05


On Thu, Oct 20, 2011 at 8:50 PM, Mathias Gaunard <
mathias.gaunard_at_[hidden]> wrote:

> On 10/19/2011 11:23 AM, Robert Jones wrote:
>
> ...how would you write the final for_each using bind directly, given
>> that the other
>> interfaces are fixed?
>>
>
> Use a polymorphic bind, like the standard one or the one from Boost.Phoenix
> v3.
>

>
Could you demonstrate? Ideally using the standard one, as I don't have
Phoenix V3
available in this context.

Thx, Rob.



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