[C++-sig] r-value converter

Piotr Jaroszyński p.jaroszynski at gmail.com
Sun Jun 17 21:59:46 CEST 2007

> 1) First wrt [1], I would like to create the PackageDepSpec with properties
> taken from PythonPackageDepSpec equivalent - how can I get that C++ object
> from PyObject pointer?

Ok, that was easy too. bp::extract<PythonPackageDepSpec>(obj_ptr) :]

Best Regards,
Piotr Jaroszyński

More information about the Cplusplus-sig mailing list