Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ speak
Method
speak
data/cpp/03_classes_oop.cpp:20–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
: Animal(std::move(name)), breed_(std::move(breed)) {}
19
20
std::string speak() const override {
21
return name() +
" barks!"
;
22
}
23
24
private:
25
std::string breed_;
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected