Classes | Macros | Functions
test_multiple_inheritance.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
Include dependency graph for test_multiple_inheritance.cpp:

Go to the source code of this file.

Classes

struct  BaseN< N >
 
struct  Vanilla
 
struct  VanillaStaticMix1
 
struct  VanillaStaticMix2
 
struct  WithStatic1
 
struct  WithStatic2
 

Macros

#define PYBIND11_BASEN(N)   py::class_<BaseN<N>>(m, "BaseN" #N).def(py::init<int>()).def("f" #N, [](BaseN<N> &b) { return b.i + N; })
 

Functions

 TEST_SUBMODULE (multiple_inheritance, m)
 

Macro Definition Documentation

#define PYBIND11_BASEN (   N)    py::class_<BaseN<N>>(m, "BaseN" #N).def(py::init<int>()).def("f" #N, [](BaseN<N> &b) { return b.i + N; })

Function Documentation

TEST_SUBMODULE ( multiple_inheritance  ,
m   
)

Definition at line 46 of file test_multiple_inheritance.cpp.



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