Commit Graph
4 Commits
Author SHA1 Message Date
Luca Longinotti 2f0402f9ff CppUsage: address requested changes.
idl_gen_cpp.cpp: fix formatting, keep CreateVectorOfStrings for normal string cases.
2019-03-05 18:09:32 +01:00
Luca Longinotti 371d4e0b79 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. 2019-03-01 16:35:29 +01:00
Luca Longinotti 92b90d7f0f 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).
2019-03-01 16:15:36 +01:00
Luca Longinotti 28cb2e92d5 idl_gen_cpp.cpp: clang-format run, to better separate changes in content from formatting. 2019-03-01 14:31:17 +01:00