You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: For further information check all the policies here
In most of the cases that we are returning a pointer or a reference we are using py::return_value_policy::reference_internal however there are some cases where py::return_value_policy::reference is being used.
This should be verified to avoid undefined behavior.
The text was updated successfully, but these errors were encountered:
Return value policy
Note: For further information check all the policies here
In most of the cases that we are returning a pointer or a reference we are using
py::return_value_policy::reference_internal
however there are some cases wherepy::return_value_policy::reference
is being used.This should be verified to avoid undefined behavior.
The text was updated successfully, but these errors were encountered: