Searched refs:PrivateOpNew (Results 1 – 1 of 1) sorted by relevance
182 struct PrivateOpNew { in PYBIND11_NAMESPACE_END() struct193 py::class_<PrivateOpNew>(m, "PrivateOpNew").def_readonly("value", &PrivateOpNew::value); in PYBIND11_NAMESPACE_END()194 m.def("private_op_new_value", []() { return PrivateOpNew(); }); in PYBIND11_NAMESPACE_END()195 m.def("private_op_new_reference", []() -> const PrivateOpNew & { in PYBIND11_NAMESPACE_END()196 static PrivateOpNew x{}; in PYBIND11_NAMESPACE_END()