Classes | Macros | Functions
test_factory_constructors.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <cmath>
#include <new>
Include dependency graph for test_factory_constructors.cpp:

Go to the source code of this file.

Classes

class  PyTF6
 
class  PyTF7
 
class  TestFactory1
 
class  TestFactory2
 
class  TestFactory3
 
class  TestFactory4
 
class  TestFactory5
 
class  TestFactory6
 
class  TestFactory7
 
class  TestFactoryHelper
 

Macros

#define MAKE_TAG_TYPE(Name)
 

Functions

 TEST_SUBMODULE (factory_constructors, m)
 

Macro Definition Documentation

#define MAKE_TAG_TYPE (   Name)
Value:
struct Name##_tag {}; \
py::class_<Name##_tag>(m_tag, #Name "_tag").def(py::init<>()); \
m_tag.attr(#Name) = py::cast(Name##_tag{})
EIGEN_DEVICE_FUNC NewType cast(const OldType &x)

Function Documentation

TEST_SUBMODULE ( factory_constructors  ,
m   
)

Definition at line 142 of file test_factory_constructors.cpp.



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