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

Inner Constructors #282

Open
oxinabox opened this issue Oct 10, 2023 · 2 comments
Open

Inner Constructors #282

oxinabox opened this issue Oct 10, 2023 · 2 comments

Comments

@oxinabox
Copy link
Member

oxinabox commented Oct 10, 2023

It seems that this package assumed that the structs have at least the default constructors.
And if you remove them via defining more restricted inner constructors things break.
I believe the work around is to overload StructArrays.createinstance.

I can't find anything about this in the docs, but I might have missed it.

@aplavin
Copy link
Member

aplavin commented Dec 29, 2023

Does it work for you if ConstructionBase.constructorof is defined for your type? If not, please give a specific example.
For me, #241/#280 fixed this issue.

@oxinabox
Copy link
Member Author

My problem is there is nothing in the docs about this.

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