Ejemplo n.º 1
0
void out_of_range_error_translator(std::out_of_range const & ex)
{
    PyErr_SetString(PyExc_IndexError, ex.what());
}
Ejemplo n.º 2
0
void show(std::out_of_range e) {
  printf("show: %p\n", &e);
  e.what();
}
Ejemplo n.º 3
0
void
translate_std_out_of_range( std::out_of_range e)
{
	PyErr_SetString( PyExc_IndexError, e.what());
}
Ejemplo n.º 4
0
void translator(std::out_of_range const& x) {
    PyErr_SetString(PyExc_IndexError, x.what());
}