Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ Pet
Method
Pet
tests/local_bindings.h:80–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
class Pet {
79
public:
80
explicit Pet(std::string name) : name_(std::move(name)) {}
81
std::string name_;
82
const std::string &name() const { return name_; }
83
};
Callers
nothing calls this directly
Calls
1
move
Function · 0.85
Tested by
no test coverage detected