| 37 | |
| 38 | |
| 39 | BOOST_PYTHON_MODULE(operators) |
| 40 | { |
| 41 | class_<NumberLike>("NumberLike") |
| 42 | .def(init< optional<int> >()) |
| 43 | .def(self + int()) |
| 44 | .def("__str__", &NumberLike::str) |
| 45 | .def("__repr__", &NumberLike::repr) |
| 46 | ; |
| 47 | } |
nothing calls this directly
no outgoing calls
no test coverage detected