From: David Abrahams (abrahams_at_[hidden])
Date: 2000-07-20 11:21:54
The system is still lacking formal documentation, but it does include some
fairly complete and well-commented usage examples. Look at extclass_demo.*
Advantages of py_cpp include:
1. Automatic conversion and type-checking of argument lists. You should
never have to write PyArg_ParseTuple() (or the equivalent) again.
2. You can subclass your C++ classes in Python and override their virtual
3. C++ objects held by smart pointers (e.g. std::auto_ptr,
boost::shared_ptr) look just like the corresponding object in Python -
indirection is "flattened".
4. In other respects you should be able to replicate your C++ interface in
Python with little or no intrusion into your C++ design and very little
This has been tested with MSVC6.3 with and without the STLport library, and
with GCC 2.95.2 using STLport.
py_cpp is under active development and I intend to be responsive to bug
reports and requests.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk