Automatic conversion between C++ and Python types¶
This example actually consist from 2 small, well documented examples.
The first one shows how to handle conversion between tuples: boost::tuples::tuple and Python tuple.
The second one shows how to add an automatic conversion from Python tuple to some registered class. The class registration allows you to use its functionality and enjoy from automatic conversion.