• Wouter van Oortmerssen's avatar
    [C++] Object API: document custom string type requirements, · eb2a81f7
    Wouter van Oortmerssen authored
    implement better custom string type constructor alternative
    for Unpack() and fix bug with vector of custom string types
    in Pack().
    
    Squashed commit of the following:
    
    commit e9519c647ef949b22756ed660839dd3af854881c
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Tue Mar 5 18:24:49 2019 +0100
    
        tests: regenerate code, reverts change to CreateVectorOfStrings().
    
    commit 117e3b0679209f2aa55cbee18c4036e7da4bd4b3
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Tue Mar 5 18:15:05 2019 +0100
    
        idl_gen_cpp.cpp: move clang-format on/off outside of declaration, so they are kept properly aligned automatically.
    
    commit 4791923806965637d5b13f7003329bfbb2fdf18b
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Tue Mar 5 18:11:40 2019 +0100
    
        idl_gen_cpp.cpp: full clang-format run with provided Google format file, enforce 80 lines width.
    
    commit 2f0402f9ff43b1af0a29806932e08e6d64373345
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Tue Mar 5 18:09:32 2019 +0100
    
        CppUsage: address requested changes.
        idl_gen_cpp.cpp: fix formatting, keep CreateVectorOfStrings for normal string cases.
    
    commit 371d4e0b7972a59e5cff418c44e4043c016ce56a
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Fri Mar 1 16:35:29 2019 +0100
    
        Fix compile error with a vector of non-std::strings. CreateVectorOfStrings() expects a vector of std::string types, but that's not always the case.
    
    commit 92b90d7f0fbcfc837a94aa06bedccec0f7b4bb62
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Fri Mar 1 16:15:36 2019 +0100
    
        Document requirement for custom string types to implement empty() and be constructible from std::string.
        Add new option --cpp-str-flex-ctor to construct custom string types not via std::string, but (char * + length).
    
    commit 28cb2e92d5b7684b5df5184da3a3fad2d0cda733
    Author: Luca Longinotti <luca.longinotti@inivation.com>
    Date:   Fri Mar 1 14:31:17 2019 +0100
    
        idl_gen_cpp.cpp: clang-format run, to better separate changes in content from formatting.
    
    Change-Id: I4887ba2f2c632b9e7a8c938659b088cd95690870
    eb2a81f7
Name
Last commit
Last update
..
base.h Loading commit data...
code_generators.h Loading commit data...
flatbuffers.h Loading commit data...
flatc.h Loading commit data...
flexbuffers.h Loading commit data...
grpc.h Loading commit data...
hash.h Loading commit data...
idl.h Loading commit data...
minireflect.h Loading commit data...
reflection.h Loading commit data...
reflection_generated.h Loading commit data...
registry.h Loading commit data...
stl_emulation.h Loading commit data...
util.h Loading commit data...