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

Decide whether to use enum classes in generated code #352

Open
bocchino opened this issue Nov 16, 2023 · 0 comments
Open

Decide whether to use enum classes in generated code #352

bocchino opened this issue Nov 16, 2023 · 0 comments
Labels
code generation Issues related to code generation

Comments

@bocchino
Copy link
Collaborator

Enum classes are a nice C++11 feature. It would be nice to use them instead of traditional C/C++-style enums. However, if we do this, then our autocode will depend on C++11 in a way that's not easy to work around if a C++11 compiler is not available.

See the discussion here: #341.

@bocchino bocchino added the code generation Issues related to code generation label Nov 16, 2023
@bocchino bocchino added this to To do in Fixes and Enhancements via automation Nov 16, 2023
@bocchino bocchino changed the title [C++ Code Gen] Decide whether to use enum classes [C++ Code Gen] Decide whether to use enum classes in generated code Nov 16, 2023
@bocchino bocchino changed the title [C++ Code Gen] Decide whether to use enum classes in generated code Decide whether to use enum classes in generated code Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code generation Issues related to code generation
Projects
Development

No branches or pull requests

1 participant