Searched refs:bark (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_tagbased_polymorphic.py13 assert [dog.bark() for dog in zoo[:3]] == [
H A Dtest_tagbased_polymorphic.cpp35 std::string bark() const { return name_of_kind(kind) + " " + name + " goes " + sound; } function in struct:Animal::Dog
49 std::string bark() const { return Dog::bark() + " and runs in circles"; } function in struct:Animal::Chihuahua
122 .def("bark", &Dog::bark);
128 .def("bark", &Chihuahua::bark);
H A Dtest_class.cpp60 std::string bark() const { return "Woof!"; } function in class:Dog
99 m.def("dog_bark", [](const Dog &dog) { return dog.bark(); });

Completed in 15 milliseconds