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 concept #491

Open
vinipsmaker opened this issue Jul 29, 2021 · 0 comments
Open

Enum concept #491

vinipsmaker opened this issue Jul 29, 2021 · 0 comments

Comments

@vinipsmaker
Copy link

Boost.Hana currently has Struct. I have some code that performs automatic serialization for Struct types. However an Enum is missing in Boost.Hana to help here further.

The Struct concept [...] it allows accessing the names of the members of a user-defined type, and also the value of those members

For the Enum concept, I'd expect a similar mapping, however values should be hana::int_c<something> (non-mutable).

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

1 participant