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

/gem5/ext/pybind11/tests/
H A Dobject.h48 // ref_tag. This lets us check that the total number of ref<Anything> constructors/destructors is
50 class ref_tag {}; class
65 ref() : m_ptr(nullptr) { print_default_created(this); track_default_created((ref_tag*) this); }
71 print_created(this, "from pointer", m_ptr); track_created((ref_tag*) this, "from pointer");
80 print_copy_created(this, "with pointer", m_ptr); track_copy_created((ref_tag*) this);
87 print_move_created(this, "with pointer", m_ptr); track_move_created((ref_tag*) this);
95 print_destroyed(this); track_destroyed((ref_tag*) this);
100 print_move_assigned(this, "pointer", r.m_ptr); track_move_assigned((ref_tag*) this);
113 print_copy_assigned(this, "pointer", r.m_ptr); track_copy_assigned((ref_tag*) this);
127 print_values(this, "assigned pointer"); track_values((ref_tag*) thi
[all...]
H A Dtest_smart_ptr.cpp124 m.def("cstats_ref", &ConstructorStats::get<ref_tag>);

Completed in 6 milliseconds