• Alexander Gallego's avatar
    C++: mini_reflect: Add DefaultTypeTable (#4614) · 36f85648
    Alexander Gallego authored
    * mini_reflect: Add DefaultTypeTable
    
    Currently it's very easy to make a mistake when it comes to
    instantiating the TypeTable to print a buffer because it is not type
    safe.
    
    This will allow us to write safer cpp code:
    
    flatbuffers::FlatBufferToString(reinterpret_cast<const uint8_t *>(&t),
                                    decltype(t)::DefaultTypeTable());
    
    * c++: mini_reflect: update generated code
    
    * Ensure types and names are set for mini_reflect
    
    * c++: mini_refelct: update unit tests with new typed TypeTable
    
    * Adding PR feedback of sylte and naming convention
    36f85648
Name
Last commit
Last update
..
clang-format.sh Loading commit data...
code_generators.cpp Loading commit data...
flatc.cpp Loading commit data...
flatc_main.cpp Loading commit data...
flathash.cpp Loading commit data...
idl_gen_cpp.cpp Loading commit data...
idl_gen_fbs.cpp Loading commit data...
idl_gen_general.cpp Loading commit data...
idl_gen_go.cpp Loading commit data...
idl_gen_grpc.cpp Loading commit data...
idl_gen_js.cpp Loading commit data...
idl_gen_json_schema.cpp Loading commit data...
idl_gen_php.cpp Loading commit data...
idl_gen_python.cpp Loading commit data...
idl_gen_text.cpp Loading commit data...
idl_parser.cpp Loading commit data...
reflection.cpp Loading commit data...
util.cpp Loading commit data...