Home
last modified time | relevance | path

Searched defs:CopyOnlyInt (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/tests/
Dtest_copy_move.cpp61 class CopyOnlyInt { class
63 CopyOnlyInt() { print_default_created(this); } in CopyOnlyInt() function in CopyOnlyInt
64 CopyOnlyInt(int v) : value{std::move(v)} { print_created(this, value); } in CopyOnlyInt() function in CopyOnlyInt
65 CopyOnlyInt(const CopyOnlyInt &c) { print_copy_created(this, c.value); value = c.value; } in CopyOnlyInt() function in CopyOnlyInt
137 m.def("copy_tuple", [](std::tuple<CopyOnlyInt, CopyOnlyInt> t) { in PYBIND11_NAMESPACE_END()
140 …nested", [](std::pair<MoveOnlyInt, std::pair<std::tuple<MoveOrCopyInt, CopyOnlyInt, std::tuple<Mov… in PYBIND11_NAMESPACE_END() argument