[C++-sig] boost python & context manager/with statement

Avi Bahra avibahra at googlemail.com
Sun Feb 12 19:25:45 CET 2012

Does boost python support context management using the with
statement?  In my case I need to manage __enter__/__exit__ on
the c++ side. Could not find any examples for this in the

Any help appreciated.

Best regards,

More information about the Cplusplus-sig mailing list