#include #include #include #include #include "gtsam/nonlinear/utilities.h" // for RedirectCout. using namespace std; namespace py = pybind11; PYBIND11_MODULE(templates_py, m_) { m_.doc() = "pybind11 wrapper of templates_py"; py::class_>(m_, "TemplatedConstructor") .def(py::init<>()) .def(py::init(), py::arg("arg")) .def(py::init(), py::arg("arg")) .def(py::init(), py::arg("arg")); py::class_, std::shared_ptr>>(m_, "ScopedTemplateResult") .def(py::init(), py::arg("arg")); #include "python/specializations.h" }