Allow references to objects held by smart pointers (#533)

This commit is contained in:
Dean Moldovan
2016-12-07 02:36:44 +01:00
committed by Wenzel Jakob
parent 8c85a85747
commit ab90ec6ce9
5 changed files with 159 additions and 19 deletions

View File

@@ -53,8 +53,6 @@ code?
.. code-block:: cpp
PYBIND11_DECLARE_HOLDER_TYPE(T, std::shared_ptr<T>);
class Child { };
class Parent {