#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <cmath>
Go to the source code of this file.
◆ 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)
◆ test_submodule_factory_constructors()
| void test_submodule_factory_constructors |
( |
py::module & |
m | ) |
|
◆ factory_constructors
| test_initializer factory_constructors("factory_constructors", test_submodule_factory_constructors) |