Skip to content

The lifetime of C++ std::function converted from python function #528

Closed Answered by wjakob
metab0t asked this question in Q&A
Discussion options

You must be logged in to vote

Nanobind will keep the object alive to satisfy the dependency, if that's what you are asking.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@metab0t
Comment options

Answer selected by metab0t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants