Boost logo

Boost Users :

Subject: [Boost-users] boost python & context manager/with statement
From: Avi Bahra (avibahra_at_[hidden])
Date: 2012-02-12 13:25:45


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
documentation.

Any help appreciated.

Best regards,
Ta,
    Avi


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net