Skip to content

constify arr macro #129

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

Merged
merged 1 commit into from
Nov 5, 2022
Merged

constify arr macro #129

merged 1 commit into from
Nov 5, 2022

Conversation

eggyal
Copy link
Contributor

@eggyal eggyal commented Sep 10, 2022

Closes #110

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Closes fizyk20#110
eggyal added a commit to eggyal/generic-array that referenced this pull request Sep 10, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Adds an analogue of the `[expr; LENGTH]` array initialiser to the `arr!`
macro, i.e. `arr![Type; expr; LENGTH]`.  Can be used in const contexts.

Note that this implementation builds upon fizyk20#129, which should be
reviewed/merged before this.
@novacrazy novacrazy merged commit 0964d8d into fizyk20:master Nov 5, 2022
@eggyal eggyal deleted the const-arr branch November 5, 2022 21:30
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

Successfully merging this pull request may close these issues.

const arr! support
2 participants