MCPcopy 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

78class Pet {
79public:
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

moveFunction · 0.85

Tested by

no test coverage detected