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

Method Dog

tests/test_class.cpp:142–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 class Dog : public Pet {
141 public:
142 explicit Dog(const std::string &name) : Pet(name, "dog") {}
143 std::string bark() const { return "Woof!"; }
144 };
145

Callers 3

test_cross_module_callsFunction · 0.45
test_inheritanceFunction · 0.45
test_isinstanceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected