Searched refs:none4 (Results 1 – 1 of 1) sorted by relevance
116 int none4(std::shared_ptr<NoneTester> *obj) { return obj && *obj ? (*obj)->answer : -1; } in none4() function333 m.def("no_none4", &none4, py::arg{}.none(false)); in TEST_SUBMODULE()338 m.def("ok_none4", &none4, py::arg{}.none(true)); in TEST_SUBMODULE()