
7 Jan
2005
7 Jan
'05
3:07 p.m.
Aleksey Gurtovoy wrote:
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 ;).
Yeah, it was just hard to read for the aforementioned reason. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com