Skip to content

P2996 - example of enum_to_string via switch-case #164

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kris-jusiak
Copy link

Problem:

  • P2996 doesn't support code generation yet which would be handy for the basic enum_to_string example.

Solution:

  • Show a simple enum_to_string example with deducing this and nested switch which shows that it's possible, though, not ideal, and that it will be changed when code generation is supported.

Problem:
- P2996 doesn't support code generation yet which would be handy for the basic enum_to_string example.

Solution:
- Show a simple enum_to_string example with deducing this and nested switch which shows that it's possible, though, not ideal, and that it will be changed when code generation is supported.
@brevzin brevzin force-pushed the master branch 2 times, most recently from d215d5d to d8dae46 Compare February 13, 2025 11:01
@brevzin brevzin force-pushed the master branch 4 times, most recently from c8f13e1 to a515803 Compare March 31, 2025 12:39
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.

1 participant