Searched refs:exp_opt_int (Results 1 – 1 of 1) sorted by relevance
218 using exp_opt_int = std::experimental::optional<int>; in TEST_SUBMODULE() typedef220 m.def("double_or_zero_exp", [](const exp_opt_int& x) -> int { in TEST_SUBMODULE()223 m.def("half_or_none_exp", [](int x) -> exp_opt_int { in TEST_SUBMODULE()224 return x ? exp_opt_int(x / 2) : exp_opt_int(); in TEST_SUBMODULE()226 m.def("test_nullopt_exp", [](exp_opt_int x) { in TEST_SUBMODULE()