mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
f2ecd8927e
reference_internal requires an `instance` field to track the returned reference's parent, but that's just a duplication of what keep_alive<0,1> does, so use a keep alive to do this to eliminate the duplication. |
||
---|---|---|
.. | ||
pybind11 |