flatbuffers/include/flatbuffers
Vladimir Glavnyy 44bf719883 Add flatc '--cpp_std' switch (#5656)
* Add flatc '--cpp_std' switch and sandbox for C++17 code generator

- Added 'flac --cpp_std legacy' for compatibility with old compilers (VS2010);
- Added experimental switch 'flac --cpp_std c++17' for future development;
- Added C++17 sandbox test_cpp17.cpp;
- C++ code generator generates enums with explicit underlying type to avoid problems with the forward and backward schema compatibility;
- Adjusted CMakeLists.txt, CI and generate code scripts to support of introduced '--cpp_std';

* Fix --cpp_std values: c++0x, c++11, c++17

* Add 'cpp::CppStandard' enum

* Add testing engine into test_cpp17

* Rebase to upstream/master

* Set default '--cpp-std C++0x'

* Fix code generation (--cpp_std C++11) in CMakeLists.txt

- Fix dependency declaration of grpctest target

* Revert --cpp-std for the tests from explicit C++11 to flatc default value (C++0x)
2019-12-23 12:13:48 -08:00
..
base.h Supress unsigned-integer-overflow for PaddingBytes (#5647) 2019-12-09 10:06:04 -08:00
code_generators.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
flatbuffers.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
flatc.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
flexbuffers.h Fix for FlexBuffers FBT_VECTOR_STRING size bit-width. 2019-12-23 11:49:59 -08:00
grpc.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
hash.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
idl.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
minireflect.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00
reflection.h Ran src/clang-format-all.sh (#5617) 2019-11-11 09:29:37 -08:00
reflection_generated.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
registry.h Fix high certainty warnings from PVS-studio (#5115) 2019-01-17 09:49:27 -08:00
stl_emulation.h Fix ambiguity of a type deduction in TEST_EQ macro if arguments have enum class type. (#5630) 2019-11-25 12:56:47 -08:00
util.h [C++] Refactor to conform to Google C++ style guide (#5608) 2019-11-07 12:22:54 -08:00