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

enum_map_ty!: Add a macro to avoid having to hardcode the N in EnumMap by using EnumCount #579

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

kkysen
Copy link
Collaborator

@kkysen kkysen commented Nov 21, 2023

This has to be a macro until #![feature(const_generic_exprs)] lands.

@kkysen kkysen requested a review from randomPoison November 21, 2023 03:51
@kkysen kkysen force-pushed the kkysen/cleanup-mod-ipred-const-generics branch from b941793 to aa8acf9 Compare November 21, 2023 03:57
@kkysen kkysen force-pushed the kkysen/macro-enum_map_ty branch from 3f9a4c8 to b72a63d Compare November 21, 2023 03:58
…numMap` by using `EnumCount`.

This has to be a macro until `#![feature(const_generic_exprs)]` lands.
@kkysen kkysen force-pushed the kkysen/cleanup-mod-ipred-const-generics branch from aa8acf9 to f89a4e0 Compare November 27, 2023 06:26
@kkysen kkysen force-pushed the kkysen/macro-enum_map_ty branch from b72a63d to d14077c Compare November 27, 2023 06:27
Base automatically changed from kkysen/cleanup-mod-ipred-const-generics to main November 27, 2023 07:05
@kkysen kkysen merged commit a3e6332 into main Nov 27, 2023
@kkysen kkysen deleted the kkysen/macro-enum_map_ty branch November 27, 2023 07:05
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.

2 participants