mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 05:27:24 +00:00
Implemented option --scoped-enum for C++ generator
This generates C++11 style scoped and strongly typed enums. Enabling this option also implies --no-prefix.
This commit is contained in:
@@ -51,6 +51,9 @@ be generated for each file processed:
|
||||
- `--no-prefix` : Don't prefix enum values in generated C++ by their enum
|
||||
type.
|
||||
|
||||
- `--scoped-enums` : Use C++11 style scoped and strongly typed enums in
|
||||
generated C++. This also implies `--no-prefix`.
|
||||
|
||||
- `--gen-includes` : (deprecated), this is the default behavior.
|
||||
If the original behavior is required (no include
|
||||
statements) use `--no-includes.`
|
||||
|
||||
Reference in New Issue
Block a user