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

/gem5/ext/pybind11/tests/
H A Dtest_copy_move.cpp61 class CopyOnlyInt { class
63 CopyOnlyInt() { print_default_created(this); } function in class:CopyOnlyInt
64 CopyOnlyInt(int v) : value{std::move(v)} { print_created(this, value); } function in class:CopyOnlyInt
65 CopyOnlyInt(const CopyOnlyInt &c) { print_copy_created(this, c.value); value = c.value; } function in class:CopyOnlyInt
66 CopyOnlyInt &operator=(const CopyOnlyInt &c) { print_copy_assigned(this, c.value); value = c.value; return *this; }
67 ~CopyOnlyInt() { print_destroyed(this); }
85 template <> struct type_caster<CopyOnlyInt> {
87 CopyOnlyInt valu
[all...]

Completed in 23 milliseconds