On Tue, Oct 25, 2005 at 02:42:01AM +0900, Phil Tomson wrote: > One thing that comes to mind is that I'm more likely now to pass around > function pointers as a way to emulate yield. The function passed in can > be evaluated at every step of an iteration, for example, to test for some > condition. This is a common C++ idiom, actually, but usually it involves a function object rather than a function pointer, since calls into the function object can often be more easily inlined. Paul