Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind std::optional class #15

Open
banguit opened this issue Nov 5, 2024 · 1 comment
Open

Bind std::optional class #15

banguit opened this issue Nov 5, 2024 · 1 comment

Comments

@banguit
Copy link

banguit commented Nov 5, 2024

Hello, is there a way to bind std::optional value?

@TheLartians
Copy link
Owner

Hey, unfortunately I think in the current version it is not supported. A (understandably not optimal) workaround could be to convert the optional value to a shared pointer using nullptr as the undefined state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants