Searched defs:MoveOnlyInt (Results 1 - 1 of 1) sorted by relevance
/gem5/ext/pybind11/tests/ | ||
H A D | test_copy_move.cpp | 37 class MoveOnlyInt { class 39 MoveOnlyInt() { print_default_created(this); } function in class:MoveOnlyInt 40 MoveOnlyInt(int v) : value{std::move(v)} { print_created(this, value); } function in class:MoveOnlyInt 41 MoveOnlyInt(MoveOnlyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); } function in class:MoveOnlyInt [all...] |
Completed in 4 milliseconds