C++ destructor calling of boost.python wrapped objects
June 10, 2016
3:49 p.m.
Dear All, does boost.python provide any guarantee when the C++ destructor of a wrapped object is called considering the moment of reaching the zero reference count of the python object? I am concerned about a C++ object that does some I/O (file close) at its destruction. I mean: A=MyBoostPythonObject() del A # Is the C++ destructor of MyBoostPythonObject called here? Thanks, Gabor
3443
Age (days ago)
3443
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gabor Kovacs