Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[embind] Allow optional types to contain pointers.
Previously, register_vector and register_map didn't use std::optional, but allowed pointers. After changing them to use std::optional, pointers were no longer were allowed. This restores the previous behavior. Fixes #21768
- Loading branch information
1 parent
ebc7938
commit 85e1e49
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters