helper to convert between python tuple and std::pair More...
#include <pair_to_tuple_conv.hh>
Static Public Member Functions | |
static PyObject * | convert (const std::pair< T1, T2 > &pair) |
helper to convert between python tuple and std::pair
Usage:
boost::python::to_python_converter<std::pair<T1, T2>, PairToTupleConverter<T1, T2> >()
Definition at line 30 of file pair_to_tuple_conv.hh.
static PyObject* convert | ( | const std::pair< T1, T2 > & | pair | ) | [inline, static] |
Definition at line 31 of file pair_to_tuple_conv.hh.