[C++-sig] Boost.python generators

Stefan Seefeld seefeld at sympatico.ca
Mon Jan 8 18:16:51 CET 2007


John Reid wrote:
> Hi,
> 
> I've had a quick look but found nothing that lets me implement a 
> generator in C++ and export it with boost.python. Is this possible?

Can't you just 'manually' bind your own methods to "next" and "__iter__" ?
What else would you expect ?

Regards,
		Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list