Subject: Re: phoenix lambda-lambda for_each example
From: Joel de Guzman <[email-masked]>
To: David Abrahams <[email-masked]>
Cc: Noah Stein <[email-masked]>, Aleksey Gurtovoy <[email-masked]>, Jaakko Jarvi <[email-masked]>
Date: Fri, 05 Mar 2004 01:13:06 +0800

David Abrahams wrote:

> Joel de Guzman <[email-masked]> writes:
> 
is our sample. I want to push_back argument _2 to all
>>sequences in argument _1:
>>
>>     for_each(_a, push_back(_a, _2))
>>
>>Notice that the leftmost _a can be replaced by _1 but
>>the second _a cannot.
>>
>>I believe this is the best syntax so far. 
> 
> 
> Wow.  Makes my head spin.
> 
> 
>>With this scheme, there might be no need for "outer" anymore. 
> 
> 
> That was far more intuitive to me.

If it makes your head spin, then it must be bad.
Revert... revert... ;-)

Cheers,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net