flatbuffers
flatbuffers copied to clipboard
C++ Parser is corrupted after move
SymbolTable instances within Parser are not moved. The following addition to SymbolTable in idl.h fixes the problem:
template<typename T> class SymbolTable { SymbolTable(const SymbolTable&) = delete; public: SymbolTable() = default; SymbolTable(SymbolTable&&) = default;
Using clang version 18.1.8/cxx20
where is the actual issue you're seeing with these missing functions? The SymbolTable class seems to be a perfectly copyable object, it just needs to not outlive the Value objects it refers to
closing for now as there is not enough information about if and why this might be necessary.