Re: [boost] lambda and generators

2003-04-20 Thread renej
> > Python has a cool feature called generators (stolen from other > languages) which basically turns a function into an input iterator. > When the function yields a value instead of returning, that represents > the value at one position of the iterator. When the function finally > returns, the it

[boost] lambda and generators

2003-04-20 Thread David Abrahams
Python has a cool feature called generators (stolen from other languages) which basically turns a function into an input iterator. When the function yields a value instead of returning, that represents the value at one position of the iterator. When the function finally returns, the iterator is e