Classes | Namespaces | Functions
test_tagbased_polymorphic.cpp File Reference
#include "pybind11_tests.h"
#include <pybind11/stl.h>
Include dependency graph for test_tagbased_polymorphic.cpp:

Go to the source code of this file.

Classes

struct  Animal
 
struct  Cat
 
struct  Chihuahua
 
struct  Dog
 
struct  Labrador
 
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)
 

Function Documentation

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.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:40