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

/gem5/ext/pybind11/tests/
H A Dtest_smart_ptr.cpp297 struct TypeForHolderWithAddressOf { struct
298 TypeForHolderWithAddressOf() { print_created(this); } function in struct:TypeForHolderWithAddressOf
299 TypeForHolderWithAddressOf(const TypeForHolderWithAddressOf &) { print_copy_created(this); } function in struct:TypeForHolderWithAddressOf
300 TypeForHolderWithAddressOf(TypeForHolderWithAddressOf &&) { print_move_created(this); } function in struct:TypeForHolderWithAddressOf
301 ~TypeForHolderWithAddressOf() { print_destroyed(this); }
303 return "TypeForHolderWithAddressOf[" + std::to_string(value) + "]";
307 using HolderWithAddressOf = shared_ptr_with_addressof_operator<TypeForHolderWithAddressOf>;
308 py::class_<TypeForHolderWithAddressOf, HolderWithAddressO
[all...]
H A Dtest_smart_ptr.py229 a = m.TypeForHolderWithAddressOf.make()
235 stats = ConstructorStats.get(m.TypeForHolderWithAddressOf)
238 np = m.TypeForHolderWithAddressOf.make()
245 b = m.TypeForHolderWithAddressOf.make()

Completed in 6 milliseconds