Classes | Namespaces | Functions
test_smart_ptr.cpp File Reference
#include "object.h"
#include "pybind11_tests.h"
Include dependency graph for test_smart_ptr.cpp:

Go to the source code of this file.

Classes

struct  pybind11::detail::holder_helper< ref< T > >
 

Namespaces

 pybind11
 
 pybind11::detail
 

Functions

 PYBIND11_DECLARE_HOLDER_TYPE (T, ref< T >, true)
 
 PYBIND11_DECLARE_HOLDER_TYPE (T, std::shared_ptr< T >)
 
 PYBIND11_DECLARE_HOLDER_TYPE (T, huge_unique_ptr< T >)
 
 PYBIND11_DECLARE_HOLDER_TYPE (T, custom_unique_ptr< T >)
 
 PYBIND11_DECLARE_HOLDER_TYPE (T, shared_ptr_with_addressof_operator< T >)
 
 PYBIND11_DECLARE_HOLDER_TYPE (T, unique_ptr_with_addressof_operator< T >)
 
 TEST_SUBMODULE (smart_ptr, m)
 

Function Documentation

◆ PYBIND11_DECLARE_HOLDER_TYPE() [1/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
ref< T ,
true   
)

◆ PYBIND11_DECLARE_HOLDER_TYPE() [2/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
std::shared_ptr< T  
)

◆ PYBIND11_DECLARE_HOLDER_TYPE() [3/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
huge_unique_ptr< T  
)

◆ PYBIND11_DECLARE_HOLDER_TYPE() [4/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
custom_unique_ptr< T  
)

◆ PYBIND11_DECLARE_HOLDER_TYPE() [5/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
shared_ptr_with_addressof_operator< T  
)

◆ PYBIND11_DECLARE_HOLDER_TYPE() [6/6]

PYBIND11_DECLARE_HOLDER_TYPE ( T  ,
unique_ptr_with_addressof_operator< T  
)

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( smart_ptr  ,
m   
)

Definition at line 287 of file test_smart_ptr.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55