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

Add a zcmgen option for C++ to make all static sized arrays into std::array #453

Closed
olsoni opened this issue Oct 6, 2023 · 0 comments · Fixed by #455
Closed

Add a zcmgen option for C++ to make all static sized arrays into std::array #453

olsoni opened this issue Oct 6, 2023 · 0 comments · Fixed by #455

Comments

@olsoni
Copy link
Member

olsoni commented Oct 6, 2023

This would be of most benefit to types that have static arrays nested within dynamic arrays, which are currently generated as a vector within a vector.

Using std::array would require at least C++11, so this should be an option, but not the default behavior.

@jbendes jbendes linked a pull request Oct 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant