16 m_.doc() =
"pybind11 wrapper of templates_py";
19 py::class_<TemplatedConstructor, std::shared_ptr<TemplatedConstructor>>(m_,
"TemplatedConstructor")
21 .def(py::init<const string&>(),
py::arg(
"arg"))
22 .def(py::init<const int&>(),
py::arg(
"arg"))
23 .def(py::init<const double&>(),
py::arg(
"arg"));
25 py::class_<ScopedTemplate<Result>, std::shared_ptr<ScopedTemplate<Result>>>(m_,
"ScopedTemplateResult")
26 .def(py::init<const Result::Value&>(),
py::arg(
"arg"));
29 #include "python/specializations.h"
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg() const
PYBIND11_MODULE(templates_py, m_)