[C++-sig] [ANN] Boost.Python v2: CallPolicies support for constructors

David Abrahams david.abrahams at rcn.com
Wed Apr 3 00:20:50 CEST 2002


class_<...>.def_init(...) now supports an optional CallPolicies argument
which can be used to control the lifetime of constructor arguments. An
example can be found in libs/python/test/test_pointer_adoption.*.

Regards,
Dave

+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org)               O__  ==
      Pythonista (http://www.python.org)              c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html  (*) \(*) ==
          email: david.abrahams at rcn.com
+---------------------------------------------------------------+





More information about the Cplusplus-sig mailing list