Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2005-01-06 22:48:50


David Abrahams writes:
> Aleksey Gurtovoy wrote:
>
>> Any particular reason why you decided against implicit scoping along
>> the lines of
>>
>> for_each( _1, push_back(_1, outer(_2)) )
>>
>> ?
>
> It doesn't generalize all that well, FWIW.

Of course it does.

> What if you have to go out
> by 2 scopes?

     outer( outer(_2) )

or
     outer<2>(_2)

All this is discussed in the conversation I posted earlier -- in which
you participated ;).

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk