Scarab  v2.11.1
Project 8 C++ Utility Library
Classes | Macros | Functions | Variables
test_factory_constructors.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <cmath>
Include dependency graph for test_factory_constructors.cpp:

Go to the source code of this file.

Classes

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

Macros

#define MAKE_TAG_TYPE(Name)
 

Functions

void test_submodule_factory_constructors (py::module &)
 

Variables

test_initializer factory_constructors ("factory_constructors", test_submodule_factory_constructors)
 

Macro Definition Documentation

◆ MAKE_TAG_TYPE

#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{})
T cast(const handle &handle)
Definition: cast.h:1659

Function Documentation

◆ test_submodule_factory_constructors()

void test_submodule_factory_constructors ( py::module m)

Definition at line 141 of file test_factory_constructors.cpp.

Variable Documentation

◆ factory_constructors

test_initializer factory_constructors("factory_constructors", test_submodule_factory_constructors)