| 52 | using ExampleVirt::ExampleVirt; /* Inherit constructors */ |
| 53 | |
| 54 | int run(int value) override { |
| 55 | /* Generate wrapping code that enables native function overloading */ |
| 56 | PYBIND11_OVERRIDE(int, /* Return type */ |
| 57 | ExampleVirt, /* Parent class */ |
| 58 | run, /* Name of function */ |
| 59 | value /* Argument(s) */ |
| 60 | ); |
| 61 | } |
| 62 | |
| 63 | bool run_bool() override { |
| 64 | PYBIND11_OVERRIDE_PURE(bool, /* Return type */ |