Go to the source code of this file.
Classes | |
struct | Animal |
struct | Dog |
struct | Labrador |
struct | Chihuahua |
struct | Cat |
struct | Panther |
struct | pybind11::polymorphic_type_hook< itype, detail::enable_if_t< std::is_base_of< Animal, itype >::value > > |
Namespaces | |
pybind11 | |
Functions | |
std::vector< std::unique_ptr< Animal > > | create_zoo () |
TEST_SUBMODULE (tagbased_polymorphic, m) | |
std::vector<std::unique_ptr<Animal> > create_zoo | ( | ) |
Definition at line 70 of file test_tagbased_polymorphic.cpp.
TEST_SUBMODULE | ( | tagbased_polymorphic | , |
m | |||
) |
Definition at line 122 of file test_tagbased_polymorphic.cpp.