Home
last modified time | relevance | path

Searched refs:TplCtorClass (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/tests/
Dtest_stl.cpp42 struct TplCtorClass { struct
43 template <typename T> TplCtorClass(const T &) { } in TplCtorClass() argument
44 bool operator==(const TplCtorClass &) const { return true; } in operator ==() argument
49 struct hash<TplCtorClass> { size_t operator()(const TplCtorClass &) const { return 0; } }; in operator ()()
268 m.def("tpl_ctor_vector", [](std::vector<TplCtorClass> &) {}); in TEST_SUBMODULE() argument
269 m.def("tpl_ctor_map", [](std::unordered_map<TplCtorClass, TplCtorClass> &) {}); in TEST_SUBMODULE() argument
270 m.def("tpl_ctor_set", [](std::unordered_set<TplCtorClass> &) {}); in TEST_SUBMODULE() argument
272 m.def("tpl_constr_optional", [](std::optional<TplCtorClass> &) {}); in TEST_SUBMODULE() argument
274 m.def("tpl_constr_optional", [](std::experimental::optional<TplCtorClass> &) {}); in TEST_SUBMODULE() argument