flatbuffers/docs/source
jalitriver 920f3827a0
[C++] Add Command-Line Flag to Suppress MIN and MAX Enums (#7705)
Add the --no-minmax-values flag to prevent flatc from generating C++
enums with MIN and MAX enumerated values that otherwise would be set
to the inclusive lower and upper bound respectively of the enum.

This command-line flag is needed to avoid collisions when an enum that
is being ported to FlatBuffers already has a MIN or MAX enumerated
value.

It is also needed to work around a long-standing problem with
magic_enum that causes magic_enum to not see enumerated values that
are not unique.  For example, if FlatBuffers sets MIN = FOO and MAX =
BAR, MIN and FOO share the same underlying value so they are not
unique.  The same is true of MAX and BAR.  This prevents magic_enum
from converting FOO and BAR to and from strings as well as causing
magic_enum to return a count of enumerated values that is two fewer
than it should be.

Co-authored-by: Paul Serice <paul@serice.net>
2023-01-07 10:33:11 -08:00
..
gRPC [C++] Improve flatbuffers + gRPC integration (#4310) 2017-06-07 13:56:49 -07:00
Benchmarks.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
Building.md Generate SLSA signatures for Released zip files (#7450) 2022-08-16 16:30:37 -07:00
CONTRIBUTING.md Fix broken symlink to CONTRIBUTING.md (#4212) 2017-03-08 13:16:11 -08:00
CUsage.md Fix typos in docs (#6829) 2021-09-02 11:38:45 -04:00
Compiler.md [C++] Add Command-Line Flag to Suppress MIN and MAX Enums (#7705) 2023-01-07 10:33:11 -08:00
CppUsage.md Fix 6348 (#6717) 2021-07-08 13:29:00 -07:00
CsharpUsage.md Update missing C# namespace to Google.FlatBuffers 2022-12-01 20:04:49 -08:00
DartUsage.md Dart object API (#6682) 2021-06-14 10:15:56 -07:00
FlatBuffers.md Remove invalid claim that Protocol Buffers does not support unions (#6413) 2021-01-21 12:23:54 -08:00
FlexBuffers.md [Java][FlexBuffers] Improve documentation for FlexBuffers in Java. (#5506) 2019-09-10 10:06:47 -07:00
GoApi.md Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
GoApi_generated.txt Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
GoUsage.md replace io/ioutil to os (#7281) 2022-06-14 15:10:57 -07:00
Grammar.md Update documentation to mention enum value attributes (#7570) 2022-10-08 19:52:38 -04:00
IntermediateRepresentation.md Make --bfbs-filenames default to location of first schema file. (#6705) 2021-06-22 10:19:46 -04:00
Internals.md Fix typos in docs (#6829) 2021-09-02 11:38:45 -04:00
JavaScriptUsage.md Fix typos in docs (#6829) 2021-09-02 11:38:45 -04:00
JavaUsage.md [C#] support Object API (#5710) 2020-01-30 10:18:28 -08:00
KotlinUsage.md Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
LobsterUsage.md Fix typo in docu (#6714) 2021-06-30 14:55:56 -04:00
LuaUsage.md [Lua] Add LuaJIT support (#6584) 2021-04-30 10:38:16 -07:00
PHPUsage.md Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00
PythonUsage.md Text files should not have executable bit set (#4480) 2017-11-06 10:20:22 -08:00
README_TO_GENERATE_DOCS.md Fix "Download Doxygen" URL (#7699) 2022-12-06 14:01:12 -08:00
RustUsage.md Update Rust docs page (#7296) 2022-05-12 10:02:14 -07:00
Schemas.md Fix #7580 by documenting union schema evolution rules (#7585) 2022-10-17 17:49:28 -04:00
Support.md Dart object API (#6682) 2021-06-14 10:15:56 -07:00
SwiftUsage.md Removes Dead code & regenerate code (#7744) 2023-01-06 16:40:40 -08:00
Tutorial.md Removes Dead code & regenerate code (#7744) 2023-01-06 16:40:40 -08:00
TypeScriptUsage.md Moved TypeScriptTests to python script (#7411) 2022-08-07 11:42:02 -07:00
WhitePaper.md Fix minor typo in WhitePaper.md (#7108) 2022-02-18 21:29:21 -08:00
doxyfile Intermediate Representation docs (#6685) 2021-06-17 11:46:34 -04:00
doxygen_layout.xml Intermediate Representation docs (#6685) 2021-06-17 11:46:34 -04:00
groups TypeScript docs (#4680) 2018-03-23 09:01:39 -07:00
style.css Revamping the FlatBuffers docs. 2016-01-19 14:31:17 -08:00