protobuf-d
protobuf-d copied to clipboard
built-in types are structs instead of classes
built-in/google types are generated as structs, which seem to be causing a lot of issues with template instantiation. replacing struct
with class
fixes most compilation issues for me
@pontaoski can you give example exactly what kind of problems you have?
Built-in types? you mean integers/floats? They are pass-by-value semantics, hence struct, while class is pass by reference semantics.