Classes | Namespaces | Functions
test_tagbased_polymorphic.cpp File Reference
#include <pybind11/stl.h>
#include "pybind11_tests.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_NAMESPACE::polymorphic_type_hook< itype, detail::enable_if_t< std::is_base_of< Animal, itype >::value > >
 

Namespaces

 PYBIND11_NAMESPACE
 

Functions

std::vector< std::unique_ptr< Animal > > create_zoo ()
 
 TEST_SUBMODULE (tagbased_polymorphic, m)
 

Function Documentation

◆ create_zoo()

std::vector<std::unique_ptr<Animal> > create_zoo ( )

Definition at line 70 of file test_tagbased_polymorphic.cpp.

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( tagbased_polymorphic  ,
m   
)

Definition at line 130 of file test_tagbased_polymorphic.cpp.



gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:08:07