flatbuffers/samples
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
..
android Android: remove app_dummy() calls 2019-08-23 14:33:16 -07:00
lua/MyGame/Sample Lua (5.3) Language addition (#4804) 2018-07-05 15:55:57 -07:00
SampleBinary.cs Some code in the samples and docs still used old C# API. 2017-05-22 15:14:46 -07:00
SampleBinary.java Java: Added access object for vector of struct and vector of tables. (#5233) 2019-09-23 09:22:43 -07:00
SampleBinary.kt Add basic Kotlin support (#5409) 2019-07-22 16:05:15 -07:00
SampleBinary.php
android_sample.sh C++98 (stlport) support for core FlatBuffers and FlexBuffers. 2017-07-20 11:01:00 -07:00
csharp_sample.sh Revert "Convert net/FlatBuffers project to be compatible with netstandard (#4811)" 2018-10-29 17:21:30 -07:00
dart_sample.sh Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
go_sample.sh
java_sample.sh
javascript_sample.sh
kotlin_sample.sh Fixed missing generated code. 2019-08-19 17:57:23 -07:00
monster.bfbs [C++]Sync the sample monster.fbs file with the tutorial (#5277) 2019-04-05 12:34:53 -07:00
monster.fbs [C++]Sync the sample monster.fbs file with the tutorial (#5277) 2019-04-05 12:34:53 -07:00
monster_generated.h Add flatc '--cpp_std' switch (#5656) 2019-12-23 12:13:48 -08:00
monster_generated.lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
monster_generated.rs Port FlatBuffers to Rust (#4898) 2018-09-02 18:26:55 -07:00
monsterdata.json FlatBuffers implementation for the Lobster programming language 2018-07-29 13:23:00 -07:00
php_sample.sh
python_sample.sh
sample_bfbs.cpp Ran src/clang-format-all.sh (#5617) 2019-11-11 09:29:37 -08:00
sample_binary.cpp Ran src/clang-format-all.sh (#5617) 2019-11-11 09:29:37 -08:00
sample_binary.go
sample_binary.lobster Lobster: added builder API for tables 2019-05-22 19:42:13 -07:00
sample_binary.lua Lua (5.3) Language addition (#4804) 2018-07-05 15:55:57 -07:00
sample_binary.py
sample_binary.rs Port FlatBuffers to Rust (#4898) 2018-09-02 18:26:55 -07:00
sample_text.cpp Ran src/clang-format-all.sh (#5617) 2019-11-11 09:29:37 -08:00
sample_text.lobster Fixed Lobster implementation to work with latest language features 2019-05-22 11:48:10 -07:00
samplebinary.js