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

Method Pet

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

Source from the content-addressed store, hash-verified

128 class Pet {
129 public:
130 Pet(const std::string &name, const std::string &species)
131 : m_name(name), m_species(species) {}
132 std::string name() const { return m_name; }
133 std::string species() const { return m_species; }
134

Callers 3

test_inheritanceFunction · 0.45
test_mock_newFunction · 0.45
test_isinstanceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected