Searched refs:MoveOnlyInt (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_copy_move.cpp37 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
42 MoveOnlyInt &operator=(MoveOnlyInt &&m) { print_move_assigned(this, m.value); std::swap(value, m.value); return *this; }
43 MoveOnlyInt(const MoveOnlyInt &) = delete;
44 MoveOnlyInt
[all...]

Completed in 3 milliseconds