MCPcopy Create free account
hub / github.com/pybind/pybind11 / overloaded

Method overloaded

tests/test_methods_and_attributes.cpp:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 const int *internal5() { return &value; } // return by const pointer
72
73 py::str overloaded() { return "()"; }
74 py::str overloaded(int) { return "(int)"; }
75 py::str overloaded(int, float) { return "(int, float)"; }
76 py::str overloaded(float, int) { return "(float, int)"; }

Callers 3

test_overloadedFunction · 0.80
test_overload_resolutionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected