Functions | |
def | test_smart_ptr (capture) |
def | test_smart_ptr_refcounting () |
def | test_unique_nodelete () |
def | test_unique_nodelete4a () |
def | test_unique_deleter () |
def | test_large_holder () |
def | test_shared_ptr_and_references () |
def | test_shared_ptr_from_this_and_references () |
def | test_move_only_holder () |
def | test_holder_with_addressof_operator () |
def | test_move_only_holder_with_addressof_operator () |
def | test_smart_ptr_from_default () |
def | test_shared_ptr_gc () |
Variables | |
m = pytest.importorskip("pybind11_tests.smart_ptr") | |
def test_smart_ptr.test_holder_with_addressof_operator | ( | ) |
Definition at line 257 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_large_holder | ( | ) |
Definition at line 160 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_move_only_holder | ( | ) |
Definition at line 246 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_move_only_holder_with_addressof_operator | ( | ) |
Definition at line 287 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_shared_ptr_and_references | ( | ) |
Definition at line 169 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_shared_ptr_from_this_and_references | ( | ) |
Definition at line 200 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_shared_ptr_gc | ( | ) |
#187: issue involving std::shared_ptr<> return value policy & garbage collection
Definition at line 311 of file test_smart_ptr.py.
def test_smart_ptr.test_smart_ptr | ( | capture | ) |
Definition at line 8 of file test_smart_ptr.py.
References ConstructorStats.get(), and isinstance().
def test_smart_ptr.test_smart_ptr_from_default | ( | ) |
Definition at line 301 of file test_smart_ptr.py.
def test_smart_ptr.test_smart_ptr_refcounting | ( | ) |
Definition at line 118 of file test_smart_ptr.py.
def test_smart_ptr.test_unique_deleter | ( | ) |
Definition at line 144 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_unique_nodelete | ( | ) |
Definition at line 122 of file test_smart_ptr.py.
References ConstructorStats.get().
def test_smart_ptr.test_unique_nodelete4a | ( | ) |
Definition at line 133 of file test_smart_ptr.py.
References ConstructorStats.get().
test_smart_ptr.m = pytest.importorskip("pybind11_tests.smart_ptr") |
Definition at line 4 of file test_smart_ptr.py.