| 222 | // In C++17, overload_cast must have noexcept variants to resolve noexcept overloads. |
| 223 | struct NoexceptOverloaded { |
| 224 | py::str method(int) noexcept { return "(int)"; } |
| 225 | py::str method(int) const noexcept { return "(int) const"; } |
| 226 | py::str method(float) noexcept { return "(float)"; } |
| 227 | }; |
no outgoing calls
no test coverage detected