mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-08 15:29:45 +00:00
Allow references to objects held by smart pointers (#533)
This commit is contained in:
committed by
Wenzel Jakob
parent
8c85a85747
commit
ab90ec6ce9
@@ -53,8 +53,6 @@ code?
|
||||
|
||||
.. code-block:: cpp
|
||||
|
||||
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
|
||||
|
||||
class Child { };
|
||||
|
||||
class Parent {
|
||||
|
||||
Reference in New Issue
Block a user