Skip to content

init_alias equivalent in nanobind? #176

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

You must be logged in to vote

Nanobind always creates the alias class at the moment (it is as if init_alias was specified for all constructors). We may consider porting this optimization if it is found to be a performance issue.

Replies: 2 comments 2 replies

Comment options

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

Answer selected by zhqrbitee
Comment options

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

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