Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ bark
Method
bark
tests/test_class.cpp:143–143 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
141
public:
142
explicit Dog(const std::string &name) : Pet(name,
"dog"
) {}
143
std::string bark() const { return
"Woof!"
; }
144
};
145
146
class Rabbit : public Pet {
Callers
2
test_class.cpp
File · 0.45
test_downcast
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected