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

First class std::array support #375

Open
dmillard opened this issue Sep 14, 2023 · 2 comments
Open

First class std::array support #375

dmillard opened this issue Sep 14, 2023 · 2 comments

Comments

@dmillard
Copy link

Using CxxWrap.jl is really smooth and it's exceptionally well built, thank you!

I don't see a clean way to wrap std::arrays in a generalizable way. I'm currently wrapping individual instantiations with a similar setup to that mentioned in JuliaInterop/libcxxwrap-julia#90.

Is there any feasible path forward for a general std::array wrapper? If so, could it be included in CxxWrap.jl? If not, maybe it could be useful to include a facility for wrapping individual instantiations that "play nice" with the Julia array interfaces.

@AUK1939
Copy link

AUK1939 commented Nov 8, 2023

Looks like there are only 3 stl containers currently supported in libcxx_wrap (vector, valarray and deque). Would be good to have std::set support aswell.

I guess this is related to #190

@barche
Copy link
Collaborator

barche commented Nov 8, 2023

Yes, contributions to add more STL support are most welcome!

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

3 participants