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

/gem5/ext/pybind11/tests/
H A Dtest_tagbased_polymorphic.cpp13 struct Animal struct
27 Animal(const std::string& _name, Kind _kind) function in class:Animal::Kind
32 struct Dog : Animal
34 Dog(const std::string& _name, Kind _kind = Kind::Dog) : Animal(_name, _kind) {}
52 struct Cat : Animal
54 Cat(const std::string& _name, Kind _kind = Kind::Cat) : Animal(_name, _kind) {}
64 std::vector<std::unique_ptr<Animal>> create_zoo()
66 std::vector<std::unique_ptr<Animal>> ret;
71 // a Dog, not just an Animal.
80 const std::type_info* Animal
[all...]

Completed in 4 milliseconds